fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)
fu ([personal profile] fu) wrote in [site community profile] changelog2011-12-29 04:08 am

[dw-nonfree] Staff page out of date

[commit: http://hg.dwscoalition.org/dw-nonfree/rev/ed6a206b4abf]

http://bugs.dwscoalition.org/show_bug.cgi?id=2046

tags around each line, not around the entire journal section.

Patch by [personal profile] fu.

Files modified:

  • views/site/staff.tt
--------------------------------------------------------------------------------
diff -r 527d3823ece4 -r ed6a206b4abf views/site/staff.tt
--- a/views/site/staff.tt	Wed Dec 28 17:01:34 2011 +0800
+++ b/views/site/staff.tt	Thu Dec 29 12:08:32 2011 +0800
@@ -36,12 +36,12 @@
             <p>[% IF loop.first %]<b>[% who.name %]</b> [% END %][% paragraph %]</p>
         [%- END -%]
         [%- IF who.official -%]
-            <p>[%- FOREACH key IN o_keys -%]
-                [%- FOREACH journal IN who.official.$key -%]
+            [%- FOREACH key IN o_keys -%]
+                <p>[%- FOREACH journal IN who.official.$key -%]
                     [%- IF loop.first %][% IF loop.size == 1 %][% o_strings.$key.0 %][% ELSE %][% o_strings.$key.1 %][% END %]:[% END -%]
                     [%- IF loop.last and !loop.first %] and[% END %] [% journal %][% IF !(loop.last) and loop.size > 2 %],[% END -%]
-                [%- END -%]
-            [%- END -%]</p>
+                [%- END -%]</p>
+            [%- END -%]
         [%- END -%]
     </div>[%- END -%]
 [%- END -%]
--------------------------------------------------------------------------------