Permalink
Browse files

[TASK] Add a title attribute to the label (#359)

* [TASK] Add a title attribute to the label 

Display the ID and title on hover for the hovered category like "id: title"

* Update Index.html
  • Loading branch information...
dhuf authored and georgringer committed Jul 25, 2017
1 parent 3b6f6e5 commit a5d4d30e8fe293c9aa3e50e4e4cf34e3a979ca37
Showing with 2 additions and 2 deletions.
  1. +2 −2 Resources/Private/Templates/Administration/Index.html
@@ -8,7 +8,7 @@
<ul class="{class}">
<f:for each="{categories}" as="category">
<li>
<label>
<label title="{category.item.uid}: {category.item.title -> f:format.htmlspecialchars()}">
<input type="checkbox" {n:be.isCheckboxActive(id:category.item.uid,categories:demand.selectedCategories)} name="tx_news_web_newstxnewsm2[demand][selectedCategories][]" value="{category.item.uid}" /> {category.item.title}
</label>
@@ -228,4 +228,4 @@ <h4 class="callout-title">
T3_THIS_LOCATION = {requestUri -> f:format.raw()};
</script>
</f:section>
</html>
</html>

0 comments on commit a5d4d30

Please sign in to comment.