# HG changeset patch # User neko259 # Date 2015-11-23 10:05:05 # Node ID 9e2c30a166e1fc3a9166b82a968eca4db730cdc0 # Parent f79d6211fa76a86ba947e62d516db550ddebb1d0 Allow banner with no text. If so, details post text is used diff --git a/boards/locale/ru/LC_MESSAGES/django.mo b/boards/locale/ru/LC_MESSAGES/django.mo index c7d2699824dd79f7214793dbcf1ba68e67c6960c..bedab4fa07d4044073a072249896dd27a417bd73 GIT binary patch literal 9252 zc$~#pdvG0989xXVN%I0p`ikvIOG_)gmzx%_+&0j(O-mq;l1HIfD4X1Evh97bdvDrc z)wH1xCmq570#aKDIygGQq#6@gzAR|T%aR|`P{AIuZ#7rI`EYk*b25b#dmdSE9| z0#5^P23`bi0{#m4N#N1~A#McT0=yO&2F?d=)>sd`4)_p|L_G$)p7;XsCmz@Hhk-W$ zpVaTq1IvJC3s|p_0+u(f`MzDi`n;#-|Df?Nn(ptwWx#p!ncpg4AutFm0d53V0`CVd z0>?-1TMD+W9 zJ%31#_ZG2!$MyQ>imjK_q ziSy=1z~#U{-Nbq=EaUhE%2?m(GWOejWt{gNWt`W2z;g0W8LuDF?>{YLfBvqF?J6&4 zdAF4Fx~=8x-$%+hKhBo3-@aAOaUBNU0enlp|GAv&VBP}g4y*)jpgaVw1`aG>y)OW3 zDDDf`k0nrg4cW1f>-j+-Tp$iFv#PkuGco;UBDDD0DNN+ z%llvvulxNXw)@(}9EXaW*5e-n_dxDP73{Z`rL5nnrEKTvrA&8e zDX({zvLD{p@BaXv1Qsmg_h*-}pU*DieE8)ujvqC1>g(477f{|v=Gz9mAJ`??juGI~ z6ko~wnk$*lBbDrjF93Uh&ja^U9xrFQ&o5{Dk1uDtUs%rk-_Y}K0k;9)UCwshu!85; zuVA~k1MdWW3Ah$`UeABHg4chf@v56y|3V<#rgDt@eV^dp1~L72oyN7kv5kU#LjB_& z!To}Mq<<@}Jw96MxjO~t6#XcN$dAoFn!5$(0@ZP+;J!k?a*dzC^?-hk;OfxN4{D_T zK{hqvdK6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{I7}~r1Z@mF;3=vI>#fnAP@x{G$4p zzBDDo({Ap<{6q{(FKl7_Q;kw zl{q<=P0#73IZS)kGit``v$KyGr212|Mkt-y3q-HEdLjdI*1G-mCth!h?AscL$f}!w1srg5TrG~3Uxjk str: + return self.text or self.post.get_text() diff --git a/boards/templates/boards/all_threads.html b/boards/templates/boards/all_threads.html --- a/boards/templates/boards/all_threads.html +++ b/boards/templates/boards/all_threads.html @@ -31,8 +31,8 @@ {% for banner in banners %}
{{ banner.title }}
-
{{ banner.text }}
-
{% trans 'Related message' %}: >>{{ banner.post.id }}
+
{{ banner.get_text }}
+
{% trans 'Details' %}: >>{{ banner.post.id }}
{% endfor %}