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

reorganize infos on contact page

This commit is contained in:
grisel-davy 2020-10-27 12:20:26 +01:00 committed by Gabriel Detraz
parent 0a1aabd4e2
commit 52e20a4827
2 changed files with 26 additions and 12 deletions

View file

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

View file

@ -1,13 +1,19 @@
{% load i18n %}
<div class="panel panel-info">
<div class="panel-heading"><h4>{% trans "Tickets" %}</h4></div>
<div class="panel-body">
<div class="panel-heading">
<div class="container-fluid">
<div class="row">
<div class="col-sm-9">
<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">
{% 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>