HomePhuks

Fix mods/own urls on profile page, Closes T537

Authored by pembo210 on Jul 3 2019, 11:54 PM.

Description

Fix mods/own urls on profile page, Closes T537

Details

Committed
pembo210Jul 3 2019, 11:54 PM
Pushed
pembo210Jul 3 2019, 11:55 PM
Parents
rTHdbda69260634: remove btc from config for donate page
Branches
Unknown
Tags
Unknown
Tasks
Restricted Maniphest Task

Event Timeline

AOU added a subscriber: AOU.Jul 4 2019, 5:11 AM

Doesn't fix it.

I fixed by doing this:

    {% for own in owns %}
    <li><a href="{{url_for('sub.view_sub', sub=own['name'])}}">{{own.name}}</a></li>
    {%endfor%}
  </ul>
</div>
{% endif %}
{% if mods|length > 0 %}
<div class="pblock">
  <h3>Mods</h3>
  <ul>
    {% for mod in mods %}
    <li><a href="{{url_for('sub.view_sub', sub=mod['mods'])}}">{{mod.name}}</a></li>
    {% endfor %}