Skip to content

Commit

Permalink
Merge pull request #5958 from gitcoinco/fix/projects-tab
Browse files Browse the repository at this point in the history
Add tab hackathons back
  • Loading branch information
thelostone-mc authored Feb 10, 2020
2 parents 276b17f + ff209b4 commit d018513
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion app/dashboard/templates/profiles/tabs.html
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,11 @@
{% if total_kudos_count %}<span class="nav-badge">({{total_kudos_count}})</span>{%endif%}
</button>
{% endif %}
{% if projects_count %}
<button type="button" id="nav-description" href="{{profile.url}}/hackathons" class="text-center section-tab {% if tab == "hackathons" %} active {% endif %}">
{% trans "HACKATHONS" %}
{% if projects_count %}<span class="nav-badge">({{projects_count}})</span>{% endif %}
{% endif %}
{% if is_editable and profile.viewed_by.count %}
<button type="button" id="nav-description" href="{{profile.url}}/viewers" class="text-center section-tab {% if tab == "viewers" %} active {% endif %}">
<i class="fas fa-eye"></i>
Expand Down Expand Up @@ -134,4 +139,4 @@
</div>
</div>
</div>
</div>
</div>

0 comments on commit d018513

Please sign in to comment.