X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=templates%2Fmacros;h=6acc624c20a3227563e97b10f979af595ad1c21f;hb=0462f25b10e5adb4eacc0e11f4ced5165784f38f;hp=514f270cb5c4047ce0f1d7df31b4762d273413d7;hpb=d1391b6c98b7f74a85b2a83ce2f0d48a3bf5bfc2;p=memories.git diff --git a/templates/macros b/templates/macros index 514f270..6acc624 100644 --- a/templates/macros +++ b/templates/macros @@ -29,8 +29,9 @@ IF photo.rated > 0; %] [% SET r = photo.approx_rating %]
[% IF r > 0 OR photo.hit_count > 0 %] - [% photo.hit_count %] views - [% IF r > 0 %]
[% ministar(r, photo) %] in [%photo.rated %] ratings [% END %] + [% photo.hit_count %] view[%IF photo.hit_count>1%]s[% END %] + [% IF r > 0 %]
[% ministar(r, photo) %] in [%photo.rated %] + rating[%IF photo.rated > 1%]s[%END%] [% END %] [% END %] [% IF request.user %]