Initial commit
This commit is contained in:
10
pma/templates/display/results/comment_for_row.twig
Normal file
10
pma/templates/display/results/comment_for_row.twig
Normal file
@ -0,0 +1,10 @@
|
||||
{% if comments_map[fields_meta.table] is defined
|
||||
and comments_map[fields_meta.table][fields_meta.name] is defined %}
|
||||
<br><span class="tblcomment" title="{{ comments_map[fields_meta.table][fields_meta.name] }}">
|
||||
{% if comments_map[fields_meta.table][fields_meta.name]|length > limit_chars %}
|
||||
{{ comments_map[fields_meta.table][fields_meta.name]|slice(0, limit_chars) }}…
|
||||
{% else %}
|
||||
{{ comments_map[fields_meta.table][fields_meta.name] }}
|
||||
{% endif %}
|
||||
</span>
|
||||
{% endif %}
|
Reference in New Issue
Block a user