Changeset 20548
- Timestamp:
- 07/28/09 09:38:32 (4 years ago)
- Files:
-
- branches/1.3/lib/generator/sfModelGeneratorConfiguration.class.php (modified) (1 diff)
- branches/1.3/lib/plugins/sfDoctrinePlugin/data/generator/sfDoctrineModule/default/template/templates/_form.php (modified) (1 diff)
- branches/1.3/lib/plugins/sfDoctrinePlugin/test/functional/fixtures/apps/frontend/modules/articles/templates/editSuccess.php (modified) (1 diff)
- branches/1.3/lib/plugins/sfPropelPlugin/data/generator/sfPropelModule/default/template/templates/_form.php (modified) (1 diff)
- branches/1.3/lib/plugins/sfPropelPlugin/i18n/sf_admin.fr.xml (modified) (1 diff)
- branches/1.3/lib/plugins/sfPropelPlugin/test/functional/crud/crudBrowser.class.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/1.3/lib/generator/sfModelGeneratorConfiguration.class.php
r18047 r20548 503 503 else 504 504 { 505 $label = '_list' == $action ? ' Cancel' : substr($action, 1);505 $label = '_list' == $action ? 'Back to list' : substr($action, 1); 506 506 } 507 507 branches/1.3/lib/plugins/sfDoctrinePlugin/data/generator/sfDoctrineModule/default/template/templates/_form.php
r14510 r20548 19 19 <?php endif; ?> 20 20 <?php if (isset($this->params['route_prefix']) && $this->params['route_prefix']): ?> 21 <a href="[?php echo url_for('<?php echo $this->getUrlForAction('list') ?>') ?]"> Cancel</a>21 <a href="[?php echo url_for('<?php echo $this->getUrlForAction('list') ?>') ?]">Back to list</a> 22 22 <?php else: ?> 23 <a href="[?php echo url_for('<?php echo $this->getModuleName() ?>/index') ?]"> Cancel</a>23 <a href="[?php echo url_for('<?php echo $this->getModuleName() ?>/index') ?]">Back to list</a> 24 24 <?php endif; ?> 25 25 [?php if (!$form->getObject()->isNew()): ?] branches/1.3/lib/plugins/sfDoctrinePlugin/test/functional/fixtures/apps/frontend/modules/articles/templates/editSuccess.php
r11948 r20548 7 7 <tr> 8 8 <td colspan="2"> 9 <a href="<?php echo url_for('articles/index') ?>"> Cancel</a>9 <a href="<?php echo url_for('articles/index') ?>">Back to list</a> 10 10 <?php if (!$form->isNew()): ?> 11 11 <?php echo link_to('Delete', 'articles/delete?id='.$article->get('id'), array('post' => true, 'confirm' => 'Are you sure?')) ?> branches/1.3/lib/plugins/sfPropelPlugin/data/generator/sfPropelModule/default/template/templates/_form.php
r14507 r20548 19 19 <?php endif; ?> 20 20 <?php if (isset($this->params['route_prefix']) && $this->params['route_prefix']): ?> 21 <a href="[?php echo url_for('<?php echo $this->getUrlForAction('list') ?>') ?]"> Cancel</a>21 <a href="[?php echo url_for('<?php echo $this->getUrlForAction('list') ?>') ?]">Back to list</a> 22 22 <?php else: ?> 23 <a href="[?php echo url_for('<?php echo $this->getModuleName() ?>/index') ?]"> Cancel</a>23 <a href="[?php echo url_for('<?php echo $this->getModuleName() ?>/index') ?]">Back to list</a> 24 24 <?php endif; ?> 25 25 [?php if (!$form->getObject()->isNew()): ?] branches/1.3/lib/plugins/sfPropelPlugin/i18n/sf_admin.fr.xml
r16257 r20548 41 41 <source>go</source> 42 42 <target>ok</target> 43 </trans-unit> 44 <trans-unit> 45 <source>Back to list</source> 46 <target>Retour à la liste</target> 43 47 </trans-unit> 44 48 branches/1.3/lib/plugins/sfPropelPlugin/test/functional/crud/crudBrowser.class.php
r16976 r20548 93 93 isStatusCode(200)-> 94 94 checkElement('h1', 'New '.ucfirst($this->urlPrefix))-> 95 checkElement(sprintf('a[href*="/%s"]', $this->urlPrefix), ' Cancel')->95 checkElement(sprintf('a[href*="/%s"]', $this->urlPrefix), 'Back to list')-> 96 96 checkElement(sprintf('a[href*="/%s/"]', $this->urlPrefix), false)-> 97 97 end()-> … … 124 124 $this-> 125 125 info('go back to the list')-> 126 click(' Cancel')->126 click('Back to list')-> 127 127 isStatusCode(200)-> 128 128 isRequestParameter('module', $this->urlPrefix)-> … … 150 150 isStatusCode(200)-> 151 151 checkElement('h1', 'Edit '.ucfirst($this->urlPrefix))-> 152 checkElement(sprintf('a[href*="/%s"]', $this->urlPrefix), ' Cancel')->152 checkElement(sprintf('a[href*="/%s"]', $this->urlPrefix), 'Back to list')-> 153 153 checkElement(sprintf('a[href*="/%s/3"]', $this->urlPrefix), 'Delete')-> 154 154 checkElement(sprintf('a[href*="/%s/3"][onclick*="confirm"]', $this->urlPrefix))-> … … 211 211 $this-> 212 212 info('go back to the list')-> 213 click(' Cancel')->213 click('Back to list')-> 214 214 isStatusCode(200)-> 215 215 isRequestParameter('module', $this->urlPrefix)->