From 0cb95ad93ffb2f1e5a1b61593da950213ca876c9 Mon Sep 17 00:00:00 2001 From: Siad Ardroumli Date: Mon, 25 Nov 2013 21:26:44 +0100 Subject: [PATCH 1/2] Fixes see and uses issues --- class.html.twig | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/class.html.twig b/class.html.twig index 278656c..d853668 100644 --- a/class.html.twig +++ b/class.html.twig @@ -218,7 +218,15 @@
See also
{% endif %} {% for tag in tags %} -
{{ tag.description }}
+
{{ tag.reference|route|raw }}{% if tag.description %} {{ tag.description }}{% endif %}
+ {% endfor %} + {% endfor %} + {% for tagName,tags in node.tags if tagName in ['uses'] %} + {% if loop.first %} +
Uses
+ {% endif %} + {% for tag in tags %} +
{{ tag.reference|route|raw }}{% if tag.description %} {{ tag.description }}{% endif %}
{% endfor %} {% endfor %} @@ -227,7 +235,7 @@

Tags

- {% for tagName,tags in node.tags if tagName not in ['link', 'see', 'abstract', 'method', 'property', 'property-read', 'property-write', 'package', 'subpackage'] %} + {% for tagName,tags in node.tags if tagName not in ['link', 'see', 'abstract', 'method', 'property', 'property-read', 'property-write', 'package', 'subpackage', 'uses'] %}
{{ tagName }} From fa77967d93ae16908c96f189e0c60818dd2e8b34 Mon Sep 17 00:00:00 2001 From: Siad Ardroumli Date: Mon, 25 Nov 2013 21:30:53 +0100 Subject: [PATCH 2/2] Update method.html.twig --- elements/method.html.twig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/elements/method.html.twig b/elements/method.html.twig index 5cc5036..d168eba 100644 --- a/elements/method.html.twig +++ b/elements/method.html.twig @@ -76,7 +76,7 @@
See also
{% endif %} {% for tag in tags %} -
{{ tag.description }}
+
{{ tag.reference|route|raw }}{% if tag.description %} {{ tag.description }}{% endif %}
{% endfor %} {% endfor %} {% for tagName,tags in method.tags if tagName in ['uses'] %} @@ -84,7 +84,7 @@
Uses
{% endif %} {% for tag in tags %} -
{{ tag.reference|route|raw }}
+
{{ tag.reference|route|raw }}{% if tag.description %} {{ tag.description }}{% endif %}
{% endfor %} {% endfor %}