Merge branch 'bugfix/add-tooltip-on-table-headers' into 'master'

Added the missing title attribute

Fix #189

See merge request !145
This commit is contained in:
Olivier Perez 2016-08-08 15:10:47 +02:00
commit 08d623a1e1
2 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@
<tr>
<th role="presentation"></th>
{foreach $slots as $id=>$slot}
<th class="bg-info" id="C{$id}">{$slot->title|markdown}</th>
<th class="bg-info" id="C{$id}" title="{$slot->title|markdown:true}">{$slot->title|markdown}</th>
{/foreach}
<th></th>
</tr>

View File

@ -76,7 +76,7 @@
{$slots_raw = array()}
{foreach $slots as $slot}
{foreach $slot->moments as $id=>$moment}
<th colspan="1" class="bg-info" id="H{$headersDCount}">{$moment|html}</th>
<th colspan="1" class="bg-info" id="H{$headersDCount}" title="{$moment|html}">{$moment|html}</th>
{append var='headersH' value=$headersDCount}
{$headersDCount = $headersDCount+1}
{$slots_raw[] = $slot->day|date_format:$date_format.txt_full|cat:' - '|cat:$moment}