File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
templates/bootstrap4/admin Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -36,8 +36,8 @@ def bool_formatter(view, value):
3636 Value to check
3737 """
3838 glyph = 'ok-circle' if value else 'minus-sign'
39- fa = 'fas fa-check-circle' if value else 'far fa -circle'
40- return Markup ('<span class="%s glyphicon glyphicon-%s icon-%s"></span>' % (fa , glyph , glyph ))
39+ fa = 'fa-check-circle' if value else 'fa-minus -circle'
40+ return Markup ('<span class="fa %s glyphicon glyphicon-%s icon-%s"></span>' % (fa , glyph , glyph ))
4141
4242
4343def list_formatter (view , values ):
Original file line number Diff line number Diff line change 8080 {% set class_name = item.get_class_name() %}
8181 {% if item.is_accessible() and item.is_visible() %}
8282 < li {% if class_name %} class ="{{ class_name }} "{% endif %} >
83- < a class ="nav-link " href ="{{ item.get_url() }} "> {{ menu_icon(item) }}{{ item.name }}</ a >
83+ < a class ="nav-link " href ="{{ item.get_url() }} "{% if item.target %} target ="{{ item.target }} "{% endif %} >
84+ {{ menu_icon(item) }}{{ item.name }}</ a >
8485 </ li >
8586 {% endif %}
8687 {% endfor %}
You can’t perform that action at this time.
0 commit comments