8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-12-23 07:23:46 +00:00

reorganize infos on contact page

This commit is contained in:
grisel-davy 2020-10-27 12:20:26 +01:00
parent 7bedf0c9dc
commit 17f09c551b
2 changed files with 26 additions and 12 deletions

View file

@ -39,13 +39,21 @@ with this program; if not, write to the Free Software Foundation, Inc.,
{% for contact in contacts %} {% for contact in contacts %}
<div class="panel panel-info"> <div class="panel panel-info">
<div class="panel-heading"><h4>{{ contact.get_name }}</h4></div> <div class="panel-heading">
<div class="panel-body"> <div class="container-fluid">
<div class="row"> <div class="row">
<div class="col-sm-9">{{ contact.commentary}}</div> <div class="col-sm-6">
<div class="col-sm-3"><a href="mailto:{{ contact.address }}">{{ contact.address }}</a></div> <h4>{{ contact.get_name }}</h4>
</div> </div>
<div class="col-sm-6 text-right">
<a href="mailto:{{ contact.address }}">{{ contact.address }}</a>
</div>
</div>
</div>
</div> </div>
<div class="panel-body">
{{ contact.commentary}}
</div>
</div> </div>
{% endfor %} {% endfor %}

View file

@ -1,13 +1,19 @@
{% load i18n %} {% load i18n %}
<div class="panel panel-info"> <div class="panel panel-info">
<div class="panel-heading"><h4>{% trans "Tickets" %}</h4></div> <div class="panel-heading">
<div class="container-fluid">
<div class="row">
<div class="col-sm-6">
<h4>{% trans "Tickets" %}</h4>
</div>
<div class="col-sm-6 text-right">
<a class="btn btn-primary" href="{% url 'tickets:new-ticket' %}"><i class="fa fa-ticket"></i> {% trans "Open a ticket" %}</a>
</div>
</div>
</div>
</div>
<div class="panel-body"> <div class="panel-body">
<div class="row">
<div class="col-sm-9">
{% blocktrans %}If you are experiencing issues with the services offered by {{asso_name}}, you can open a ticket that will be taken care of. If you want to contact us on any other topic, please choose one address below.{% endblocktrans %} {% blocktrans %}If you are experiencing issues with the services offered by {{asso_name}}, you can open a ticket that will be taken care of. If you want to contact us on any other topic, please choose one address below.{% endblocktrans %}
</div>
<div class="col-sm-3"><a class="btn btn-primary" href="{% url 'tickets:new-ticket' %}"><i class="fa fa-ticket"></i> {% trans "Open a ticket" %}</a></div>
</div>
</div> </div>
</div> </div>