Browse Source

Add title where stuff are truncated

pull/277/head
Timothée Jaussoin 9 years ago
parent
commit
6d0fbbc79e
  1. 2
      app/widgets/Group/_group_posts.tpl
  2. 4
      app/widgets/Post/_post.tpl
  3. 4
      app/widgets/Post/_post_empty.tpl
  4. 4
      lib/XMPPtoForm.php

2
app/widgets/Group/_group_posts.tpl

@ -31,7 +31,7 @@
<span class="primary icon bubble color {$value->node|stringToColor}">{$value->node|firstLetterCapitalize}</span>
{/if}
<p class="line">
<p class="line" {if="isset($value->title)"}title="{$value->title}"{/if}>
{if="isset($value->title)"}
{$value->title}
{else}

4
app/widgets/Post/_post.tpl

@ -341,7 +341,7 @@
<span class="primary icon gray">
<i class="zmdi zmdi-arrow-left"></i>
</span>
<p class="line">
<p class="line" {if="isset($previous->title)"}title="{$previous->title}"{/if}>
{if="isset($previous->title)"}
{$previous->title}
{else}
@ -366,7 +366,7 @@
<span class="control icon gray">
<i class="zmdi zmdi-arrow-right"></i>
</span>
<p class="line">
<p class="line" {if="isset($next->title)"}title="{$next->title}"{/if}>
{if="isset($next->title)"}
{$next->title}
{else}

4
app/widgets/Post/_post_empty.tpl

@ -77,7 +77,7 @@
<i class="zmdi zmdi-account"></i>
</span>
{/if}
<p class="line">
<p class="line" {if="isset($value->title)"}title="{$value->title}"{/if}>
{if="isset($value->title)"}
{$value->title}
{else}
@ -154,7 +154,7 @@
</span>
{/if}
<p class="line">
<p class="line" {if="isset($value->title)"}title="{$value->title}"{/if}>
{if="isset($value->title)"}
{$value->title}
{else}

4
lib/XMPPtoForm.php

@ -166,6 +166,7 @@ class XMPPtoForm{
$label = $this->html->createElement('label', $s['label']);
$label->setAttribute('for', $s['var']);
$label->setAttribute('title', $s['label']);
$container->appendChild($label);
}
@ -196,6 +197,7 @@ class XMPPtoForm{
$label = $this->html->createElement('label', $s['label']);
$label->setAttribute('for', $s['var']);
$label->setAttribute('title', $s['label']);
$container->appendChild($label);
}
@ -232,6 +234,7 @@ class XMPPtoForm{
$label = $this->html->createElement('label', $s['label']);
$label->setAttribute('for', $s['var']);
$label->setAttribute('title', $s['label']);
$container->appendChild($label);
}
@ -300,6 +303,7 @@ class XMPPtoForm{
$label = $this->html->createElement('label', $s['label']);
$label->setAttribute('for', $s['var']);
$label->setAttribute('title', $s['label']);
$container->appendChild($label);
}
}

Loading…
Cancel
Save