Commit 647cb8d03cb94de81060129a1bb2d90efdfa132e

Authored by Luan
1 parent 7b200a81

Adding view more options to user profile - #81

src/accounts/templates/accounts/user_detail.html
... ... @@ -128,6 +128,10 @@
128 128 <li>{% trans "There are no posts by this user so far." %}</li>
129 129 {% endfor %}
130 130 </ul>
  131 + <a href="{% url 'haystack_search' %}?type=thread&amp;author={{ user_.username }}">
  132 + {% trans "View more discussions..." %}
  133 + </a>
  134 + <div>&nbsp;</div>
131 135 </div>
132 136  
133 137 <div class="col-lg-6 col-md-6 col-sm-12">
... ... @@ -139,6 +143,10 @@
139 143 <li>{% trans "No contributions of this user so far." %}</li>
140 144 {% endfor %}
141 145 </ul>
  146 + <a href="{% url 'haystack_search' %}?order=latest&amp;collaborators={{ user_.username }}">
  147 + {% trans "View more contributions..." %}
  148 + </a>
  149 + <div>&nbsp;</div>
142 150 </div>
143 151  
144 152 </div>
... ...