Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- a/templates/view_profile.html
- +++ b/templates/view_profile.html
- @@ -164,8 +164,10 @@
- </div>
- <div class="container">
- <div class="row">
- - {% for mod in profile.mods if mod.published and mod.default_version() %}
- + {% for mod in profile.mods if mod.default_version() %}
- + {% if user.username == profile.username or mod.published %}
- {% include "mod-box.html" %}
- + {% endif %}
- {% endfor %}
- </div>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement