Skip to content

Commit

Permalink
Default dashboard to only show talks/series editable by user. Closes #…
Browse files Browse the repository at this point in the history
  • Loading branch information
ahaith committed Mar 18, 2015
1 parent db9246d commit 7994c3a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion talks/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
</div>
<ul class="nav navbar-nav">
{% if perms.events.change_event %}
<li {% ifequal request.path contributors_homepage %} class="active"{% endifequal %}><a href="{{ contributors_homepage }}?date=future">Dashboard</a></li>
<li {% ifequal request.path contributors_homepage %} class="active"{% endifequal %}><a href="{{ contributors_homepage }}?date=future&editable=true">Dashboard</a></li>
{% endif %}
{% if perms.events.add_event %}
<li {% ifequal request.path create_event %} class="active" {% endifequal %}><a href="{{ create_event }}">New Talk</a></li>
Expand Down
4 changes: 2 additions & 2 deletions talks/templates/contributors/contributors_events.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ <h2>Talks administration</h2>
<div class="col-xs-3">

<ul class="nav nav-list well">
<li><a href="{% url 'contributors-events' %}?date=future" class="filter-selected">Talks <span class="glyphicon glyphicon-ok filter-active"></span></a></li>
<li><a href="{% url 'contributors-eventgroups' %}">Series <span class="glyphicon glyphicon-ok filter-active"></span></a></li>
<li><a href="{% url 'contributors-events' %}?date=future&editable=true" class="filter-selected">Talks <span class="glyphicon glyphicon-ok filter-active"></span></a></li>
<li><a href="{% url 'contributors-eventgroups' %}?editable=true">Series <span class="glyphicon glyphicon-ok filter-active"></span></a></li>
<li><a href="{% url 'contributors-persons' %}" class="">People <span class="glyphicon glyphicon-ok filter-active"></span></a></li>
</ul>
<strong>Filters</strong></li>
Expand Down
4 changes: 2 additions & 2 deletions talks/templates/contributors/contributors_groups.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ <h2>Series administration</h2>
<div class="col-xs-3">

<ul class="nav nav-list well">
<li><a href="{% url 'contributors-events' %}?date=future" class="">Talks <span class="glyphicon glyphicon-ok filter-active"></span></a></li>
<li><a href="{% url 'contributors-eventgroups' %}" class="filter-selected">Series <span class="glyphicon glyphicon-ok filter-active"></span></a></li>
<li><a href="{% url 'contributors-events' %}?date=future&editable=true" class="">Talks <span class="glyphicon glyphicon-ok filter-active"></span></a></li>
<li><a href="{% url 'contributors-eventgroups' %}?editable=true" class="filter-selected">Series <span class="glyphicon glyphicon-ok filter-active"></span></a></li>
<li><a href="{% url 'contributors-persons' %}" class="">People <span class="glyphicon glyphicon-ok filter-active"></span></a></li>
</ul>
<strong>Filters</strong>
Expand Down

0 comments on commit 7994c3a

Please sign in to comment.