aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag
diff options
context:
space:
mode:
authorThomas Citharel <tcit@tcit.fr>2016-11-03 11:28:40 +0100
committerThomas Citharel <tcit@tcit.fr>2016-11-03 11:28:40 +0100
commit3221b2e413eeddf952310a702fff0f887384018f (patch)
tree011b03e419481cdc8094e773a3776281961fd18c /src/Wallabag
parent817724a7b8507877a81f3ff53639f7b49cb05851 (diff)
downloadwallabag-3221b2e413eeddf952310a702fff0f887384018f.tar.gz
wallabag-3221b2e413eeddf952310a702fff0f887384018f.tar.zst
wallabag-3221b2e413eeddf952310a702fff0f887384018f.zip
Fix resolution issues and 'title' issues
Also, modify editorconfig for css files. Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Diffstat (limited to 'src/Wallabag')
-rw-r--r--src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig
index 2c145b2a..2a027086 100644
--- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig
+++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig
@@ -37,16 +37,16 @@
37 <i class="grey-text text-darken-4 activator material-icons right">more_vert</i> 37 <i class="grey-text text-darken-4 activator material-icons right">more_vert</i>
38 {% endif %} 38 {% endif %}
39 39
40 <span class="card-title dot-ellipsis dot-resize-update"><a href="{{ path('view', { 'id': entry.id }) }}" title="{{ entry.title|raw }}">{{ entry.title|striptags|raw }}</a></span> 40 <span class="card-title dot-ellipsis dot-resize-update"><a href="{{ path('view', { 'id': entry.id }) }}" title="{{ entry.title | raw | striptags }}">{{ entry.title| striptags | truncate(80, true, '…') | raw }}</a></span>
41 41
42 <div class="original grey-text"> 42 <div class="original grey-text">
43 <a href="{{ entry.url|e }}" target="_blank" title="{{ 'entry.list.original_article'|trans }}: {{ entry.title|e }} - {{ entry.domainName|removeWww }}" class="tool original grey-text"> 43 <a href="{{ entry.url|e }}" target="_blank" title="{{ entry.domainName|removeWww }}" class="tool original grey-text">
44 <span>{{ entry.domainName|removeWww|truncate(18) }}</span> 44 <span>{{ entry.domainName|removeWww|truncate(30, false, '…') }}</span>
45 </a> 45 </a>
46 </div> 46 </div>
47 47
48 {% if entry.previewPicture is null %} 48 {% if entry.previewPicture is null %}
49 <p>{{ entry.content|striptags|slice(0, 300)|raw }}&hellip;</p> 49 <p>{{ entry.content|striptags|slice(0, 250)|raw }}&hellip;</p>
50 <ul class="card-entry-labels-hidden"> 50 <ul class="card-entry-labels-hidden">
51 {% for tag in entry.tags | slice(0, 2) %} 51 {% for tag in entry.tags | slice(0, 2) %}
52 <li><a href="{{ path('tag_entries', {'slug': tag.slug}) }}">{{ tag.label }}</a></li> 52 <li><a href="{{ path('tag_entries', {'slug': tag.slug}) }}">{{ tag.label }}</a></li>
@@ -59,9 +59,9 @@
59 {% if not entry.previewPicture is null %} 59 {% if not entry.previewPicture is null %}
60 <div class="card-reveal"> 60 <div class="card-reveal">
61 <i class="card-title activator grey-text text-darken-4 material-icons right">clear</i> 61 <i class="card-title activator grey-text text-darken-4 material-icons right">clear</i>
62 <span class="card-title"><a href="{{ path('view', { 'id': entry.id }) }}">{{ entry.title|raw }}</a></span> 62 <span class="card-title" title="{{ entry.title | raw | striptags }}"><a href="{{ path('view', { 'id': entry.id }) }}">{{ entry.title | raw | striptags | truncate(90, true, '…') }}</a></span>
63 63
64 <p>{{ entry.content|striptags|slice(0, 300)|raw }}&hellip;</p> 64 <p>{{ entry.content|striptags|slice(0, 250)|raw }}&hellip;</p>
65 65
66 <ul class="card-entry-labels-hidden"> 66 <ul class="card-entry-labels-hidden">
67 {% for tag in entry.tags %} 67 {% for tag in entry.tags %}