Skip to content
Snippets Groups Projects
Commit 81df226b authored by weeman's avatar weeman
Browse files

Merge branch 'display-tags' into 'develop'

Tags mit Icon prefixen & für Events anzeigen

Closes #669

See merge request hub/hub!1112
parents d1f01ac0 7f1a04ee
No related branches found
No related tags found
No related merge requests found
......@@ -41,7 +41,7 @@
{{ assembly.assembly_location }}
</div>
{% endif %}
{{ tagboxMacro.tagbox(assembly.public_tags) }}
{{ tagboxMacro.tagbox(assembly.public_tags, icon='tag') }}
{% if assembly.description != None and assembly.description != "" -%}
<div class="hub-text">{{- markdownMacro.markdown(markdown=assembly.description_html | safe, border=False) -}}</div>
{% endif %}
......
......@@ -56,10 +56,10 @@
) }}
{% endif %}
{% endif %}
{% if assembly.prefetched_tags and (assembly.events__count or assembly.projects__count) %}
{% if assembly.prefetched_tags and (assembly.public_events_count or assembly.public_projects_count) %}
<div class="hub-tag-divider"></div>
{% endif %}
{{ tagboxMacro.tagbox(assembly.prefetched_tags) }}
{{ tagboxMacro.tagbox(assembly.prefetched_tags, icon='tag') }}
</div>
{% endif %}
</li>
......
......@@ -117,7 +117,7 @@
</div>
{% endif %}
{% if tags %}{{ tagboxMacro.tagbox(event.prefetched_tags, icon='tag') }}{% endif %}
{% if tags %}{{ tagboxMacro.tagbox(tags, icon='tag') }}{% endif %}
</div>
</div>
......
......@@ -59,7 +59,7 @@
</div>
{% endif %}
</div>
{{ tagMacros.tagbox(project.prefetched_tags) }}
{{ tagMacros.tagbox(project.prefetched_tags, icon='tag') }}
{% if project.description %}
{{ markdownMacro.markdown(markdown=project.description_html | safe, border=False) }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment