a small fix done of many to do
This commit is contained in:
parent
0cd5278272
commit
9d3978258d
@ -62,7 +62,7 @@ def index():
|
|||||||
distribusies = {}
|
distribusies = {}
|
||||||
for distribusi in distribusis:
|
for distribusi in distribusis:
|
||||||
user = User.query.filter_by(id=distribusi.userid).first()
|
user = User.query.filter_by(id=distribusi.userid).first()
|
||||||
distribusies.update({user.email: distribusi.distribusiname})
|
distribusies[distribusi.distribusiname] = user.email
|
||||||
return render_template("index.html", distribusies=distribusies)
|
return render_template("index.html", distribusies=distribusies)
|
||||||
|
|
||||||
|
|
||||||
|
@ -44,7 +44,7 @@
|
|||||||
<h2>List of distribusis</h2>
|
<h2>List of distribusis</h2>
|
||||||
<ul>
|
<ul>
|
||||||
{% for distribusi in distribusies %}
|
{% for distribusi in distribusies %}
|
||||||
<li>{{distribusi}}: <a href="stash/{{distribusies[distribusi]}}/index.html">{{distribusies[distribusi]}}</a></li>
|
<li>{{distribusies[distribusi]}}: <a href="stash/{{distribusi}}/index.html">{{distribusi}}</a></li>
|
||||||
{% endfor%}
|
{% endfor%}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user