Browse Source

a small fix done of many to do

current_wdka_release
crunk 3 years ago
parent
commit
9d3978258d
  1. 2
      verse/start.py
  2. 2
      verse/templates/index.html

2
verse/start.py

@ -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)

2
verse/templates/index.html

@ -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…
Cancel
Save