[vhffs-dev] [1992] well, templates don't use -> dereference symbol, replaced get_user to get_owner in templates as well

[ Thread Index | Date Index | More vhffs.org/vhffs-dev Archives ]


Revision: 1992
Author:   gradator
Date:     2012-02-02 23:12:24 +0100 (Thu, 02 Feb 2012)
Log Message:
-----------
well, templates don't use -> dereference symbol, replaced get_user to get_owner in templates as well

Modified Paths:
--------------
    trunk/vhffs-panel/templates/admin/moderation/index.tt
    trunk/vhffs-panel/templates/group/prefs.tt

Modified: trunk/vhffs-panel/templates/admin/moderation/index.tt
===================================================================
--- trunk/vhffs-panel/templates/admin/moderation/index.tt	2012-02-02 22:07:24 UTC (rev 1991)
+++ trunk/vhffs-panel/templates/admin/moderation/index.tt	2012-02-02 22:12:24 UTC (rev 1992)
@@ -15,8 +15,8 @@
         <tr>
             <td>[% o.type | stringify_type | i18n | html %]</td>
             <td>[% o.label | html %]</td>
-            <td><a href="?do=userprefs;name=[% o.get_user.get_username | html %]">[% o.get_user.get_username | html %]</a>
-                [% '(' _ o.get_user.get_note _ ')' IF use_notation %]</td>
+            <td><a href="?do=userprefs;name=[% o.get_owner.get_username | html %]">[% o.get_owner.get_username | html %]</a>
+                [% '(' _ o.get_owner.get_note _ ')' IF use_notation %]</td>
             <td><a href="?do=groupview;group=[% o.get_group.get_groupname | html %]">[% o.get_group.get_groupname | html %]</a></td>
             <td class="mainColumn">[% o.get_description | html_para %]</td>
             <td>

Modified: trunk/vhffs-panel/templates/group/prefs.tt
===================================================================
--- trunk/vhffs-panel/templates/group/prefs.tt	2012-02-02 22:07:24 UTC (rev 1991)
+++ trunk/vhffs-panel/templates/group/prefs.tt	2012-02-02 22:12:24 UTC (rev 1992)
@@ -5,7 +5,7 @@
 <form class="table-like" method="post" action="#" accept-charset="utf-8">
     <p>
         <label>[% 'Project owner:' | i18n | html %]</label>
-        [% group.get_user.get_username() | html %]
+        [% group.get_owner.get_username() | html %]
     </p>
     <p><label for="realname" class="realname">[% 'Project full name:' | i18n | html %]</label><input type="text" size="30" maxlength="100" value="[% group.get_realname | html %]" name="realname" id="realname"/></p>
     <p><label for="description" class="description">[% 'Project description:' | i18n | html %]</label>


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/