Advertisement
Guest User

Untitled

a guest
Aug 9th, 2019
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.46 KB | None | 0 0
  1. --- a/templates/view_profile.html
  2. +++ b/templates/view_profile.html
  3. @@ -164,8 +164,10 @@
  4.  </div>
  5.  <div class="container">
  6.      <div class="row">
  7. -        {% for mod in profile.mods if mod.published and mod.default_version() %}
  8. +        {% for mod in profile.mods if mod.default_version() %}
  9. +        {% if user.username == profile.username or mod.published %}
  10.          {% include "mod-box.html" %}
  11. +        {% endif %}
  12.          {% endfor %}
  13.      </div>
  14.  </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement