Skip to content

Commit

Permalink
fix: fix export button conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
rpcross committed Nov 3, 2024
1 parent 0d24f29 commit ca36905
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ietf/templates/group/group_leadership.html
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{% extends "base.html" %}
{# Copyright The IETF Trust 2015, All Rights Reserved #}
{% load origin static person_filters %}
{% load origin static person_filters ietf_filters %}
{% block pagehead %}
<link rel="stylesheet" href="{% static "ietf/css/list.css" %}">
<link rel="stylesheet" href="{% static 'ietf/css/list.css' %}">
{% endblock %}
{% block title %}Group Leadership{% endblock %}
{% block content %}
{% origin %}
<h1>Group Leadership ({{ group_type }})</h1>
{% if request.user.is_staff %}
{% if user|has_role:"Secretariat" %}
<div class="text-end">
<a class="btn btn-primary" href="{% url 'ietf.group.views.group_leadership_csv' group_type=group_type %}">
<i class="bi bi-file-ruled"></i> Export as CSV
Expand Down

0 comments on commit ca36905

Please sign in to comment.