Commit db4bd2332905503d2e49bfd7b7f8780a58f443e6
1 parent
3f493157
Exists in
master
and in
2 other branches
Bulletin reports
Showing
1 changed file
with
3 additions
and
1 deletions
Show diff stats
topics/templates/resources/list.html
... | ... | @@ -45,7 +45,9 @@ |
45 | 45 | <li><a href="{% url 'goals:get_chart' resource.slug %}" class="edit"><i class="fa fa-line-chart fa-fw" aria-hidden="true"></i>{% trans 'Reports' %}</a></li> |
46 | 46 | {% elif resource|class_name == 'webconference' %} |
47 | 47 | <li><a href="{% url 'webconferences:get_chart' resource.slug %}" class="edit"><i class="fa fa-line-chart fa-fw" aria-hidden="true"></i>{% trans 'Reports' %}</a></li> |
48 | - {% endif %} | |
48 | + {% elif resource|class_name == 'bulletin' %} | |
49 | + <li><a href="{% url 'bulletin:get_chart' resource.slug %}" class="edit"><i class="fa fa-line-chart fa-fw" aria-hidden="true"></i>{% trans 'Reports' %}</a></li> | |
50 | + {% endif %} | |
49 | 51 | <li><a href="javascript:delete_resource('{% url resource.delete_link resource.slug %}')" class="delete"><i class="fa fa-trash fa-fw" aria-hidden="true"></i>{% trans 'Remove' %}</a></li> |
50 | 52 | </ul> |
51 | 53 | </span> | ... | ... |