[Intervention] Revocations files optional #4
* makes revocation file upload optional * adds overview about revocations to intervention index * adds/updates translations
This commit is contained in:
@@ -22,6 +22,10 @@ Declare some basic colours
|
||||
color:white;
|
||||
}
|
||||
|
||||
.rlp-gd-inv{
|
||||
color: var(--rlp-gray-dark);
|
||||
}
|
||||
|
||||
.rlp-gd-outline{
|
||||
border:1px solid var(--rlp-gray-dark);
|
||||
color:var(--rlp-gray-dark);
|
||||
|
||||
@@ -127,6 +127,17 @@ class BaseTable(tables.tables.Table):
|
||||
icon
|
||||
)
|
||||
|
||||
def render_stop(self, tooltip: str = None, icn_filled: bool = False):
|
||||
"""
|
||||
Returns a stop icon
|
||||
"""
|
||||
icon = "fas fa-ban rlp-r-inv" if icn_filled else "fas fa-ban rlp-gd-inv"
|
||||
return format_html(
|
||||
"<em title='{}' class='{}'></em>",
|
||||
tooltip,
|
||||
icon
|
||||
)
|
||||
|
||||
def render_icn(self, tooltip: str = None, icn_class: str = None):
|
||||
"""
|
||||
Returns a rendered fontawesome icon
|
||||
|
||||
Reference in New Issue
Block a user