Skip to content

Commit

Permalink
Format template.
Browse files Browse the repository at this point in the history
  • Loading branch information
sfermigier committed Jun 26, 2017
1 parent 8e2f26e commit 8a7de79
Showing 1 changed file with 15 additions and 18 deletions.
33 changes: 15 additions & 18 deletions abilian/sbe/apps/communities/templates/community/members.html
Expand Up @@ -5,21 +5,23 @@

{% block memberscontent %}
{% call m_box_content(_("Members")) %}
{%- if is_manager %}
<div style="
{%- if is_manager %}
<div style="
position: relative;top: -9px;">
<div class="btn-group" role="group" aria-label="..." style="float:right;position: relative;
<div class="btn-group" role="group" aria-label="..." style="float:right;position: relative;
top: 39px;">
<a href="{{ url_for('.wizard_data_insertion',community_id=g.community.slug) }}" class="btn btn-default" style="background: ghostwhite;color: gray;"><i class="fa fa-rocket" aria-hidden="true"></i> {{_("Add members")}}</a>
<a class="btn btn-info pull-right" href="{{ url_for('.members_excel_export', community_id=g.community.slug) }}">
<i class="glyphicon glyphicon-download-alt"></i> {{ _('Download list') }}
</a>
</div>

{{ add_member() }}
</div>

{%- endif %}
<a href="{{ url_for('.wizard_data_insertion',community_id=g.community.slug) }}" class="btn btn-default"
style="background: ghostwhite;color: gray;"><i class="fa fa-rocket" aria-hidden="true"></i>
{{ _("Add members") }}</a>
<a class="btn btn-info pull-right"
href="{{ url_for('.members_excel_export', community_id=g.community.slug) }}">
<i class="glyphicon glyphicon-download-alt"></i> {{ _('Download list') }}
</a>
</div>

{{ add_member() }}
</div>
{%- endif %}

<p class="clearfix" style="border-bottom: 1px dashed #eeeeee;position: relative;top: 17px;margin-bottom: 32px;"></p>

Expand Down Expand Up @@ -152,8 +154,3 @@ <h2 class="members-title">{{ _("Add a member") }}</h2>
{%- enddeferJS %}
{% endmacro %}

{# Do we need this one ?
{% block modals %}
{% include "community/_modals.html" %}
{% endblock %}
#}

0 comments on commit 8a7de79

Please sign in to comment.