forked from crunk/distribusi-verse
a small fix done of many to do
This commit is contained in:
parent
0cd5278272
commit
9d3978258d
@ -62,7 +62,7 @@ def index():
|
||||
distribusies = {}
|
||||
for distribusi in distribusis:
|
||||
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)
|
||||
|
||||
|
||||
|
@ -44,7 +44,7 @@
|
||||
<h2>List of distribusis</h2>
|
||||
<ul>
|
||||
{% 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%}
|
||||
</ul>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user