Skip to content
Snippets Groups Projects
Verified Commit ce2eec2b authored by Julian's avatar Julian Committed by Jonathan Weth
Browse files

Fix searchbar icons

parent 2d8483cc
No related branches found
No related tags found
1 merge request!1098Resolve "Make progress page and search bar use GraphQL"
......@@ -127,7 +127,7 @@ class ExtensibleModel(models.Model, metaclass=_ExtensibleModelBase):
"""
# Defines a material design icon associated with this type of model
icon_ = "radio_button_unchecked"
icon_ = "radiobox-blank"
site = models.ForeignKey(
Site, on_delete=models.CASCADE, default=settings.SITE_ID, editable=False
......
......@@ -177,7 +177,7 @@ class Person(ExtensibleModel):
),
]
icon_ = "person"
icon_ = "account-outline"
SEX_CHOICES = [("f", _("female")), ("m", _("male")), ("x", _("other"))]
......@@ -505,7 +505,7 @@ class Group(SchoolTermRelatedExtensibleModel):
),
]
icon_ = "group"
icon_ = "account-multiple-outline"
name = models.CharField(verbose_name=_("Long name"), max_length=255)
short_name = models.CharField(
......
<a href="{{ result.object.get_absolute_url|default:"#" }}" class="collection-item search-item">
{{ result.object }}
<i class="material-icons secondary-content search-result-icon" data-icon="mdi:{{ result.object.icon_ }}"></i>
<i class="material-icons secondary-content search-result-icon iconify" data-icon="mdi:{{ result.object.icon_ }}"></i>
</a>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment