summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathaniel Catchpole2013-12-10 14:11:31 (GMT)
committerNathaniel Catchpole2013-12-10 14:11:31 (GMT)
commit5ca04d6782ea04b04f3b66b5ee19013e080c0905 (patch)
tree72a6fd1d4b627326a2298a547ccbf24734b9bdaf
parent56c62d453c88e774113087e2a4d90ee689792b4c (diff)
Issue #1189804 by cosmicdreams, jessebeach, mgifford, pwieck, smiro, dcmouyard: Convert aggregator-feed-source.html.twig to HTML5.
-rw-r--r--core/modules/aggregator/templates/aggregator-feed-source.html.twig22
1 files changed, 10 insertions, 12 deletions
diff --git a/core/modules/aggregator/templates/aggregator-feed-source.html.twig b/core/modules/aggregator/templates/aggregator-feed-source.html.twig
index 5f13425..d8ee76b 100644
--- a/core/modules/aggregator/templates/aggregator-feed-source.html.twig
+++ b/core/modules/aggregator/templates/aggregator-feed-source.html.twig
@@ -3,7 +3,7 @@
* @file
* Default theme implementation to present the source of the feed.
*
- * The contents are rendered above feed listings when browsing source feeds.
+ * The contents are rendered below feed listings when browsing source feeds.
* For example, "example.com/aggregator/sources/1".
*
* Available variables:
@@ -19,16 +19,14 @@
* @ingroup themeable
*/
#}
-<div{{ attributes}}>
+<div{{ attributes }}>
{{ source_icon }}
{{ source_image }}
- <div class="feed-description">
- {{ source_description }}
- </div>
- <div class="feed-url">
- <em>{{ 'URL'|t }}:</em> <a href="{{ source_url }}">{{ source_url }}</a>
- </div>
- <div class="feed-updated">
- <em>{{ 'Updated'|t }}:</em> {{ last_checked }}
- </div>
-</div>
+ <p class="feed-description">{{ source_description }}</p>
+ <dl class="feed-details">
+ <dt class="feed-url">{{ 'URL'|t }}</dt>
+ <dd>{{ source_url }}</dd>
+ <dt class="feed-updated">{{ 'Updated'|t }}</dt>
+ <dd>{{ last_checked }}</dd>
+ </dl>
+</div