comanage-dev - [comanage-dev] r544 - in registry/trunk/app/View: CoGroupMembers CoPetitions Layouts
Subject: COmanage Developers List
List archive
[comanage-dev] r544 - in registry/trunk/app/View: CoGroupMembers CoPetitions Layouts
Chronological Thread
- From:
- To:
- Subject: [comanage-dev] r544 - in registry/trunk/app/View: CoGroupMembers CoPetitions Layouts
- Date: Wed, 19 Jun 2013 05:23:23 -0400
- Authentication-results: sfpop-ironport04.merit.edu; dkim=neutral (message not signed) header.i=none
Author: marie
Date: 2013-06-19 05:23:23 -0400 (Wed, 19 Jun 2013)
New Revision: 544
Modified:
registry/trunk/app/View/CoGroupMembers/select.ctp
registry/trunk/app/View/CoPetitions/fields.inc
registry/trunk/app/View/CoPetitions/petition-attributes.inc
registry/trunk/app/View/Layouts/default.ctp
Log:
co70 - removing back/cancel buttons for form reset button
Modified: registry/trunk/app/View/CoGroupMembers/select.ctp
===================================================================
--- registry/trunk/app/View/CoGroupMembers/select.ctp 2013-06-19 08:29:27
UTC (rev 543)
+++ registry/trunk/app/View/CoGroupMembers/select.ctp 2013-06-19 09:23:23
UTC (rev 544)
@@ -26,15 +26,6 @@
$params = array('title' => _txt('op.grm.edit',
array($cur_co['Co']['name'], $co_group['CoGroup']['name'])));
print $this->element("pageTitle", $params);
- echo $this->Html->link(_txt('op.cancel'),
- array('controller' => 'co_groups',
- 'action' => 'edit',
- $co_group['CoGroup']['id'],
- 'co' => $cur_co['Co']['id']),
- array('class' => 'cancelbutton')) . '
- <br />
- <br />
- ';
?>
<table id="co_people" class="ui-widget">
Modified: registry/trunk/app/View/CoPetitions/fields.inc
===================================================================
--- registry/trunk/app/View/CoPetitions/fields.inc 2013-06-19 08:29:27
UTC (rev 543)
+++ registry/trunk/app/View/CoPetitions/fields.inc 2013-06-19 09:23:23
UTC (rev 544)
@@ -59,13 +59,6 @@
if(!$e && !$permissions['view'])
return(false);
- if($e)
- print $this->Html->link(
- _txt('op.cancel'),
- array('controller' => 'co_people', 'action' => 'index', 'co' =>
$cur_co['Co']['id']),
- array('class' => 'cancelbutton')
- );
-
if(isset($cur_co))
print $this->Form->hidden('co_id', array('default' =>
$cur_co['Co']['id'])) . "\n";
Modified: registry/trunk/app/View/CoPetitions/petition-attributes.inc
===================================================================
--- registry/trunk/app/View/CoPetitions/petition-attributes.inc 2013-06-19
08:29:27 UTC (rev 543)
+++ registry/trunk/app/View/CoPetitions/petition-attributes.inc 2013-06-19
09:23:23 UTC (rev 544)
@@ -151,8 +151,11 @@
</td>
<td>
<?php
- if($e)
- print $this->Form->submit($submit_label);
+ if($e) {
+ echo $this->Form->submit($submit_label);
+ print $this->Form->button(_txt('op.reset'),
+ array('type'=>'reset'));
+ }
?>
</td>
</tr>
Modified: registry/trunk/app/View/Layouts/default.ctp
===================================================================
--- registry/trunk/app/View/Layouts/default.ctp 2013-06-19 08:29:27 UTC (rev
543)
+++ registry/trunk/app/View/Layouts/default.ctp 2013-06-19 09:23:23 UTC (rev
544)
@@ -146,7 +146,8 @@
// Make all submit buttons pretty
$("input:submit").button();
-
+ $("form .submit").css('float','left');
+
// Other buttons
$(".addbutton").button({
icons: {
@@ -261,6 +262,9 @@
},
text: false
});
+
+ $("button:reset").button();
+ $("button:reset").css('float', 'left');
$(".unlinkbutton").button({
icons: {
- [comanage-dev] r544 - in registry/trunk/app/View: CoGroupMembers CoPetitions Layouts, svnlog, 06/19/2013
Archive powered by MHonArc 2.6.16.