• R/O
  • HTTP
  • SSH
  • HTTPS

newslash: Commit

newslash


Commit MetaInfo

Revisiónc45956683256ce8a0cadffe215a8e4d2c9b6d5f2 (tree)
Tiempo2017-12-01 19:49:25
Autorhylom <hylom@user...>
Commiterhylom

Log Message

template: hide bodytext in timeline and user page

Cambiar Resumen

Diferencia incremental

--- a/src/newslash_web/templates/timeline/base.html.tt2
+++ b/src/newslash_web/templates/timeline/base.html.tt2
@@ -3,7 +3,7 @@
33 <div class="main-column">
44 <div class="index main-contents">
55 [%- FOREACH item IN items -%]
6- [%- INCLUDE common/article/article %]
6+ [%- INCLUDE common/article/article hide_bodytext=1 %]
77 [%- END -%]
88
99 [%- IF prev -%]
--- a/src/newslash_web/templates/user/base.html.tt2
+++ b/src/newslash_web/templates/user/base.html.tt2
@@ -33,7 +33,7 @@
3333
3434 [%- CASE DEFAULT -%]
3535 [%- FOREACH item IN items -%]
36- [%- INCLUDE common/article/article story=item %]
36+ [%- INCLUDE common/article/article hide_bodytext=1 %]
3737 [%- END -%]
3838 </div><!-- .index -->
3939 [%- END -%]
Show on old repository browser