Skip to content
Snippets Groups Projects
Commit 7f1a04ee authored by cubicroot's avatar cubicroot
Browse files

Tags mit Icon prefixen & für Events anzeigen

parent d1f01ac0
No related branches found
No related tags found
No related merge requests found
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
{{ assembly.assembly_location }} {{ assembly.assembly_location }}
</div> </div>
{% endif %} {% endif %}
{{ tagboxMacro.tagbox(assembly.public_tags) }} {{ tagboxMacro.tagbox(assembly.public_tags, icon='tag') }}
{% if assembly.description != None and assembly.description != "" -%} {% if assembly.description != None and assembly.description != "" -%}
<div class="hub-text">{{- markdownMacro.markdown(markdown=assembly.description_html | safe, border=False) -}}</div> <div class="hub-text">{{- markdownMacro.markdown(markdown=assembly.description_html | safe, border=False) -}}</div>
{% endif %} {% endif %}
......
...@@ -56,10 +56,10 @@ ...@@ -56,10 +56,10 @@
) }} ) }}
{% endif %} {% endif %}
{% 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> <div class="hub-tag-divider"></div>
{% endif %} {% endif %}
{{ tagboxMacro.tagbox(assembly.prefetched_tags) }} {{ tagboxMacro.tagbox(assembly.prefetched_tags, icon='tag') }}
</div> </div>
{% endif %} {% endif %}
</li> </li>
......
...@@ -117,7 +117,7 @@ ...@@ -117,7 +117,7 @@
</div> </div>
{% endif %} {% endif %}
{% if tags %}{{ tagboxMacro.tagbox(event.prefetched_tags, icon='tag') }}{% endif %} {% if tags %}{{ tagboxMacro.tagbox(tags, icon='tag') }}{% endif %}
</div> </div>
</div> </div>
......
...@@ -59,7 +59,7 @@ ...@@ -59,7 +59,7 @@
</div> </div>
{% endif %} {% endif %}
</div> </div>
{{ tagMacros.tagbox(project.prefetched_tags) }} {{ tagMacros.tagbox(project.prefetched_tags, icon='tag') }}
{% if project.description %} {% if project.description %}
{{ markdownMacro.markdown(markdown=project.description_html | safe, border=False) }} {{ 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