mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Clean up stray Font Awesome icons
This commit is contained in:
@@ -61,7 +61,7 @@ def custom_links(context, obj):
|
||||
)
|
||||
except Exception as e:
|
||||
template_code += '<a class="btn btn-sm btn-default" disabled="disabled" title="{}">' \
|
||||
'<i class="fa fa-warning"></i> {}</a>\n'.format(e, cl.name)
|
||||
'<i class="mdi mdi-alert"></i> {}</a>\n'.format(e, cl.name)
|
||||
|
||||
# Add grouped links to template
|
||||
for group, links in group_names.items():
|
||||
@@ -80,7 +80,7 @@ def custom_links(context, obj):
|
||||
except Exception as e:
|
||||
links_rendered.append(
|
||||
'<li><a disabled="disabled" title="{}"><span class="text-muted">'
|
||||
'<i class="fa fa-warning"></i> {}</span></a></li>'.format(e, cl.name)
|
||||
'<i class="mdi mdi-alert"></i> {}</span></a></li>'.format(e, cl.name)
|
||||
)
|
||||
|
||||
if links_rendered:
|
||||
|
@@ -9,12 +9,12 @@ menu_items = (
|
||||
PluginMenuButton(
|
||||
link='admin:dummy_plugin_dummymodel_add',
|
||||
title='Add a new dummy model',
|
||||
icon_class='fa fa-plus',
|
||||
icon_class='mdi mdi-plus-thick',
|
||||
),
|
||||
PluginMenuButton(
|
||||
link='admin:dummy_plugin_dummymodel_add',
|
||||
title='Add a new dummy model',
|
||||
icon_class='fa fa-plus',
|
||||
icon_class='mdi mdi-plus-thick',
|
||||
),
|
||||
)
|
||||
),
|
||||
|
Reference in New Issue
Block a user