You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@continuum.apache.org by ev...@apache.org on 2005/10/31 15:35:37 UTC

svn commit: r329824 - in /maven/continuum/trunk/continuum-web/src/main/resources: localization/Continuum.properties templates/screens/DeleteSchedule.vm templates/screens/Schedules.vm

Author: evenisse
Date: Mon Oct 31 06:35:32 2005
New Revision: 329824

URL: http://svn.apache.org/viewcvs?rev=329824&view=rev
Log:
[CONTINUUM-374] Fix deletion message

Added:
    maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/DeleteSchedule.vm   (with props)
Modified:
    maven/continuum/trunk/continuum-web/src/main/resources/localization/Continuum.properties
    maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/Schedules.vm

Modified: maven/continuum/trunk/continuum-web/src/main/resources/localization/Continuum.properties
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-web/src/main/resources/localization/Continuum.properties?rev=329824&r1=329823&r2=329824&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-web/src/main/resources/localization/Continuum.properties (original)
+++ maven/continuum/trunk/continuum-web/src/main/resources/localization/Continuum.properties Mon Oct 31 06:35:32 2005
@@ -255,6 +255,8 @@
 schedule.active.label = Enabled
 schedule.active.message = Enable/Disable the schedule
 
+schedule.delete.confirmation.message = Are you sure you want to delete this schedule?
+
 // ----------------------------------------------------------------------
 // User Groups
 // ----------------------------------------------------------------------

Added: maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/DeleteSchedule.vm
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/DeleteSchedule.vm?rev=329824&view=auto
==============================================================================
--- maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/DeleteSchedule.vm (added)
+++ maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/DeleteSchedule.vm Mon Oct 31 06:35:32 2005
@@ -0,0 +1,22 @@
+$page.setTitle( "Delete Project" )
+
+<div class="app">
+  <div id="axial" class="h3">
+    <h3>$i18n.getString( $form.delete.titleKey )</h3>
+    <div class="warningmessage">
+      <p>
+        <strong>$i18n.getString( "schedule.delete.confirmation.message" )</strong>
+      </p>
+    </div>
+    <form method="post" action="$link">
+      #hidden ( "fid" $form.id )
+      #hidden ( "action" $form.delete.action )
+      #hidden ( "view" $form.delete.view )
+      #hidden ( "id" $id )
+      <div class="functnbar3">
+        <input type="submit" name="deleteEntry" value="Delete"/>
+        <input type="submit" name="cancel" value="Cancel"/>
+      </div>
+  </form>
+  </div>
+</div>

Propchange: maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/DeleteSchedule.vm
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/DeleteSchedule.vm
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Modified: maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/Schedules.vm
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/Schedules.vm?rev=329824&r1=329823&r2=329824&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/Schedules.vm (original)
+++ maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/Schedules.vm Mon Oct 31 06:35:32 2005
@@ -32,7 +32,7 @@
             #if ( $continuum.security.isAuthorized( $c1user, "manageSchedule" ) )
               #if ( $schedule.name != "DEFAULT_SCHEDULE" )
                 <a href="$link.setPage('Edit.vm').addPathInfo( 'fid', 'schedules').addPathInfo('id', $schedule.id)">Edit</a>
-                | <a href="$link.setPage('Delete.vm').addPathInfo('fid', "schedules").addPathInfo('id', $schedule.id)">Delete</a></td>
+                | <a href="$link.setPage('DeleteSchedule.vm').addPathInfo('fid', "schedules").addPathInfo('id', $schedule.id)">Delete</a></td>
               #end
             #end
         </tr>