[Yapcom-commit] rev 99 - in yapcom/trunk: . lib/YAPC templates

[prev] [thread] [next] [lurker] [Date index for 2003/11/30]

From: svn
Subject: [Yapcom-commit] rev 99 - in yapcom/trunk: . lib/YAPC templates
Date: 23:15 on 30 Nov 2003
Author: gabor
Date: 2003-11-30 23:15:40 +0200 (Sun, 30 Nov 2003)
New Revision: 99

Modified:
   yapcom/trunk/README
   yapcom/trunk/lib/YAPC/Organizer.pm
   yapcom/trunk/templates/message.tmpl
Log:
after changing personal info add link to view content

Modified: yapcom/trunk/README
===================================================================
--- yapcom/trunk/README	2003-11-30 11:16:01 UTC (rev 98)
+++ yapcom/trunk/README	2003-11-30 21:15:40 UTC (rev 99)
@@ -279,10 +279,17 @@
   test has to run 10 times to have good chances to one corruption)
   so we can see when our script is good enough ?
 
+  After anadministrator logs in s/he gets back a regular MyYAPC page without the extra
+  link. Only after pressing the 'Personal Inoramtion' link (login.html) do these links
+  show up.
+  In I think related issue, if regular user tries to access the proposal.html page
+  then she gets  login. One se logs in she gets a Timeline error even though the URL
+  in the navigation bar seem to be correct.
 
-the rest of the known bugs are in the TODO list.
 
+there are more bugs listed in the TODO list.
 
+
 DESIGN
 --------
 

Modified: yapcom/trunk/lib/YAPC/Organizer.pm
===================================================================
--- yapcom/trunk/lib/YAPC/Organizer.pm	2003-11-30 11:16:01 UTC (rev 98)
+++ yapcom/trunk/lib/YAPC/Organizer.pm	2003-11-30 21:15:40 UTC (rev 99)
@@ -671,6 +671,7 @@
 
         my $t = $self->_server_page('message');
         $t->param(personal_info_changed => 1);
+        $t->param(id => $id);
         return $t->output;
     } else {
         $t->param(message => "Error");

Modified: yapcom/trunk/templates/message.tmpl
===================================================================
--- yapcom/trunk/templates/message.tmpl	2003-11-30 11:16:01 UTC (rev 98)
+++ yapcom/trunk/templates/message.tmpl	2003-11-30 21:15:40 UTC (rev 99)
@@ -9,6 +9,7 @@
 </TMPL_IF>
 <TMPL_IF NAME="personal_info_changed">
 Your personal information has been successfully updated.
+<a href="./person.html?id=<TMPL_VAR NAME="id">">view it</a>
 </TMPL_IF>
 <TMPL_IF NAME="no_such_proposal">
 We could not find this proposal.

Generated at 23:55 on 30 Nov 2003 by mariachi 0.51