]> git.openstreetmap.org Git - osqa.git/commitdiff
do not show user bio if user is suspended
authorjordan <jordan@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Tue, 26 Jun 2012 22:10:09 +0000 (22:10 +0000)
committerjordan <jordan@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Tue, 26 Jun 2012 22:10:09 +0000 (22:10 +0000)
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1273 0cfe37f9-358a-4d5e-be75-b63607b5c754

forum/skins/default/templates/users/info.html

index 656c0cee1c43c2e707918a287ee1c22905c1f864..39f3b7d869d17d4f576ff9a4e1f6dc18c02ef5e0 100644 (file)
             </table>
         </td>
         <td width="380">
             </table>
         </td>
         <td width="380">
+            {% if not view_user.is_suspended %}
             <div class="user-about">
             {% if view_user.about %}
                 {{view_user.about|markdown}}
             {% endif %}
             </div>
             <div class="user-about">
             {% if view_user.about %}
                 {{view_user.about|markdown}}
             {% endif %}
             </div>
+            {% endif %}
         </td>
     </tr>
 </table>
         </td>
     </tr>
 </table>