Create a macro for profile links and use it on the welcome and profile display pages
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
{% extends 'base.html' %}
|
||||
{% from '_macros.html' import profile_link %}
|
||||
|
||||
{% block content %}
|
||||
<div class="ui grid">
|
||||
@@ -73,11 +74,7 @@
|
||||
|
||||
<div class="four wide column">
|
||||
<h2>{% trans %}Administered by{% endtrans %}</h2>
|
||||
<a href="#" class="ui profile">
|
||||
<div class="avatar"></div>
|
||||
<div class="display name">Your Admin here</div>
|
||||
<div class="handle">@admin@he.re</div>
|
||||
</a>
|
||||
{{ profile_link(none) }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user