[vhffs-dev] [907] You've so much to learn young padawan.

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


Revision: 907
Author:   beuss
Date:     2007-09-11 05:16:00 +0000 (Tue, 11 Sep 2007)

Log Message:
-----------
You've so much to learn young padawan.

Modified Paths:
--------------
    trunk/vhffs-panel/group/index.pl
    trunk/vhffs-panel/templates/group/index.tmpl
    trunk/vhffs-panel/themes/vhffs/main.css


Modified: trunk/vhffs-panel/group/index.pl
===================================================================
--- trunk/vhffs-panel/group/index.pl	2007-09-11 05:09:46 UTC (rev 906)
+++ trunk/vhffs-panel/group/index.pl	2007-09-11 05:16:00 UTC (rev 907)
@@ -51,7 +51,8 @@
 my $templatedir = $panel->{templatedir};
 
 $panel->set_title( gettext('My Projects') );
-my $template = new HTML::Template( filename => $templatedir.'/panel/group/index.tmpl' );
+my $template = new HTML::Template( filename =>
+    $templatedir.'/panel/group/index.tmpl', global_vars => 1);
 
 my $groups = Vhffs::Panel::User::get_groups($user, $Vhffs::Panel::User::RELATION_OWNER);
 $template->param( OWNED_PROJECTS => $groups );
@@ -60,8 +61,8 @@
 $template->param( OWNED_PROJECTS_TEXT => gettext('Your projects') );
 $template->param( CONTRIBUTED_PROJECTS_TEXT => gettext('Projects you contribute to') );
 $template->param( NEW_PROJECT_TEXT => gettext('Create new project') );
-#$template->param( RESUBMIT_TEXT => gettext('Propose a new description') );
-#$template->param( DELETE_TEXT => gettext('Delete') );
+$template->param( RESUBMIT_TEXT => gettext('Propose a new description') );
+$template->param( DELETE_TEXT => gettext('Delete') );
 
 $panel->build( $template );
 $panel->display;

Modified: trunk/vhffs-panel/templates/group/index.tmpl
===================================================================
--- trunk/vhffs-panel/templates/group/index.tmpl	2007-09-11 05:09:46 UTC (rev 906)
+++ trunk/vhffs-panel/templates/group/index.tmpl	2007-09-11 05:16:00 UTC (rev 907)
@@ -8,8 +8,8 @@
 <tmpl_else>
     <li><tmpl_var name="PROJECT">&nbsp;&mdash;&nbsp;<tmpl_var name="STATE">
     <tmpl_if name="REFUSED">
-       - <a href="/object/resubmit.pl?oid=<tmpl_var name="OID">"><tmpl_var name="RESUBMIT_TEXT">Propose a new description</a>
-       - <a href="/object/quickdelete.pl?oid=<tmpl_var name="OID">"><tmpl_var name="DELETE_TEXT">Delete</a>
+       - <a href="/object/resubmit.pl?oid=<tmpl_var name="OID">"><tmpl_var name="RESUBMIT_TEXT"></a>
+       - <a href="/object/quickdelete.pl?oid=<tmpl_var name="OID">"><tmpl_var name="DELETE_TEXT"></a>
     </tmpl_if>
     </li>
 </tmpl_if>

Modified: trunk/vhffs-panel/themes/vhffs/main.css
===================================================================
--- trunk/vhffs-panel/themes/vhffs/main.css	2007-09-11 05:09:46 UTC (rev 906)
+++ trunk/vhffs-panel/themes/vhffs/main.css	2007-09-11 05:16:00 UTC (rev 907)
@@ -93,7 +93,7 @@
 
 #logo
 {
-    position:absolute;
+    position:fixed;
     top:50px;
     left:0.2em;
 }
@@ -292,6 +292,11 @@
 
 }
 
+input.labeled {
+    float:left;
+    display:inline;
+}
+
 #mailUsage input
 {
 	margin-left: 200px;


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