Projet

Général

Profil

0001-templates-turn-links-in-section-titles-into-buttons-.patch

Valentin Deniaud, 19 novembre 2020 09:49

Télécharger (1,87 ko)

Voir les différences:

Subject: [PATCH] templates: turn links in section titles into buttons (#48651)

 passerelle/templates/passerelle/manage/service_view.html | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
passerelle/templates/passerelle/manage/service_view.html
56 56
<div id="endpoints" class="section">
57 57
<h3>{% trans 'Endpoints' %}
58 58
  {% if object.documentation_url %}
59
  <a href="{{ object.documentation_url }}">({% trans "documentation" %})</a>
59
  <a class="button" href="{{ object.documentation_url }}">{% trans "Documentation" %}</a>
60 60
  {% endif %}
61 61
</h3>
62 62
  <div>
......
122 122
{% if perms.base.view_resourcelog %}
123 123
<div id="logs" class="section">
124 124
  <h3>{% trans "Logs" %}
125
          <a href="{% url 'view-logs-connector' connector=object.get_connector_slug slug=object.slug %}">({% trans "full page & filter" %})</a>
125
          <a class="button" href="{% url 'view-logs-connector' connector=object.get_connector_slug slug=object.slug %}">{% trans "Full page & filter" %}</a>
126 126
  </h3>
127 127
  <div>
128 128
  {% block logs %}
......
135 135
{% if perms.base.view_job and object.jobs_set.all %}
136 136
<div id="jobs" class="section">
137 137
  <h3>{% trans "Jobs" %}
138
          <a href="{% url 'view-jobs-connector' connector=object.get_connector_slug slug=object.slug %}">({% trans "full page & filter" %})</a>
138
          <a class="button" href="{% url 'view-jobs-connector' connector=object.get_connector_slug slug=object.slug %}">{% trans "Full page & filter" %}</a>
139 139
  </h3>
140 140
  <div>
141 141
  {% block jobs %}
142
-