Skip to content
Extraits de code Groupes Projets
Valider 9f91931b rédigé par Thomas Steur's avatar Thomas Steur
Parcourir les fichiers

improve look of glossary

parent e2c52644
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -3,41 +3,43 @@ ...@@ -3,41 +3,43 @@
{% set title %}{{ 'API_Glossary'|translate }}{% endset %} {% set title %}{{ 'API_Glossary'|translate }}{% endset %}
{% block content %} {% block content %}
<h2 piwik-enriched-headline>{{ title }}</h2> <div piwik-content-intro>
{{ 'API_LearnAboutCommonlyUsedTerms'|translate( <h2>{{ title|e('html_attr') }}</h2>
'<a href="#metrics">'~ 'General_Metrics'|translate ~ '</a>', <p>
'<a href="#reports">' ~ 'General_Reports'|translate ~ '</a>')|raw {{ 'API_LearnAboutCommonlyUsedTerms'|translate(
}} '<a href="#metrics">'~ 'General_Metrics'|translate ~ '</a>',
'<a href="#reports">' ~ 'General_Reports'|translate ~ '</a>')|raw
}}
<!-- {{ metrics|length }} metrics, {{ reports|length }} reports --> <!-- {{ metrics|length }} metrics, {{ reports|length }} reports -->
</p>
</div>
<a id="metrics"></a> <a id="metrics"></a>
<h2>{{ 'General_Metrics'|translate }}</h2> <div piwik-content-block content-title="{{ 'General_Metrics'|translate|e('html_attr') }}">
<table> <table>
{% for metric in metrics %} {% for metric in metrics %}
<tr> <tr>
<td> <td>
<h3>{{ metric.name }}</h3> <h3>{{ metric.name }}</h3>
</td> </td>
<td> <td>
{{ metric.documentation|raw }} {{ metric.documentation|raw }}
<br/><span style="color: #bbb;">{{ metric.id }} (API)</span> <br/><span style="color: #bbb;">{{ metric.id }} (API)</span>
</td> </td>
</tr> </tr>
{% endfor %} {% endfor %}
</table> </table>
</div>
<a id="reports"></a> <a id="reports"></a>
<h2>{{ 'General_Reports'|translate }}</h2> <div piwik-content-block content-title="{{ 'General_Reports'|translate|e('html_attr') }}">
{% for report in reports %}
<h3>{{ report.name }}</h3>
{% for report in reports %} <p>{{ report.documentation|raw }}</p>
<h3>{{ report.name }}</h3> {% endfor %}
<p>{{ report.documentation|raw }}</p> </div>
{% endfor %}
{% endblock %} {% endblock %}
\ No newline at end of file
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter