Author: puentesdiaz
Date: 2010-02-13 22:18:06 +0100 (Sat, 13 Feb 2010)
New Revision: 28015
Modified:
doc/branches/1.4/jobeet/es/12.markdown
Log:
update for 1.4
Modified: doc/branches/1.4/jobeet/es/12.markdown
===================================================================
--- doc/branches/1.4/jobeet/es/12.markdown 2010-02-13 21:05:46 UTC (rev
28014)
+++ doc/branches/1.4/jobeet/es/12.markdown 2010-02-13 21:18:06 UTC (rev
28015)
@@ -120,7 +120,7 @@
<div id="header">
<h1>
<a href="<?php echo url_for('@homepage') ?>">
- <img src="/images/jobeet.gif" alt="Jobeet Job Board" />
+ <img src="/images/logo.jpg" alt="Jobeet Job Board" />
</a>
</h1>
</div>
@@ -128,10 +128,20 @@
<div id="menu">
<ul>
<li>
+<propel>
<?php echo link_to('Jobs', '@jobeet_job') ?>
+</propel>
+<doctrine>
+ <?php echo link_to('Jobs', '@jobeet_job_job') ?>
+</doctrine>
</li>
<li>
+<propel>
<?php echo link_to('Categories', '@jobeet_category') ?>
+</propel>
+<doctrine>
+ <?php echo link_to('Categories', '@jobeet_category_category')
?>
+</doctrine>
</li>
</ul>
</div>
@@ -301,7 +311,7 @@
config:
fields:
is_activated: { label: Activated?, help: Whether the user has
activated the job, or not }
- is_public: { label: Public? }
+ is_public: { label: Public?, help: Whether the job can also be
published on affiliate websites, or not }

@@ -372,7 +382,7 @@
params: |
%%is_activated%% <small>%%category_id%%</small> - %%company%%
(<em>%%email%%</em>) is looking for a %%=position%% (%%location%%)
-
+
En `stacked`, cada objeto está representado por una única cadena, que se
define por la opción `params`.
>**NOTE**
@@ -391,7 +401,7 @@
[yml]
# apps/backend/modules/job/config/generator.yml
%%is_activated%% <small>%%jobeet_category%%</small> - %%company%%
- (<em>%%email%%</em>) is looking for a %%=position%% (%%location%%)
+ (<em>%%email%%</em>) is looking for a %%=position%% (%%location%%))

@@ -470,7 +480,12 @@
$this->getUser()->setFlash('notice', 'The selected jobs have been
extended successfully.');
+<propel>
$this->redirect('@jobeet_job');
+</propel>
+<doctrine>
+ $this->redirect('@jobeet_job_job');
+</doctrine>
}
}
@@ -479,7 +494,6 @@
Actualiza el método `extend()` para tomar este nuevo argumento en cuenta:
-
[php]
<propel>
// lib/model/JobeetJob.php
@@ -547,13 +561,18 @@
$this->getUser()->setFlash('notice', 'The selected jobs have been
extended successfully.');
+<propel>
$this->redirect('@jobeet_job');
+</propel>
+<doctrine>
+ $this->redirect('@jobeet_job_job');
+</doctrine>
}
// ...
}
-
+
### `actions`
@@ -594,7 +613,12 @@
$this->getUser()->setFlash('notice', 'No job to delete.');
}
+<propel>
$this->redirect('@jobeet_job');
+</propel>
+<doctrine>
+ $this->redirect('@jobeet_job_job');
+</doctrine>
}
// ...
@@ -637,6 +661,7 @@
</doctrine>
[yml]
+ # apps/backend/modules/job/config/generator.yml
config:
list:
<propel>
@@ -687,8 +712,8 @@
form:
display:
Content: [category_id, type, company, logo, url, position,
- ➥ location, description, how_to_apply, is_public, email]
- Admin: [_generated_token, is_activated, expires_at]
+ ➥ location, description, how_to_apply, is_public, email]
+ Admin: [_generated_token, is_activated, expires_atxpires_at]
La configuración anterior define dos grupos (`Content` y `Admin`), each
que contienen un subconjunto de los campos del formulario.
@@ -756,7 +781,10 @@
{
$this->removeFields();
- $this->validatorSchema['email'] = new sfValidatorEmail();
+ $this->validatorSchema['email'] = new sfValidatorAnd(array(
+ $this->validatorSchema['email'],
+ new sfValidatorEmail(),
+ ));
// ...
}
@@ -883,7 +911,7 @@
# apps/backend/modules/job/config/generator.yml
filter:
display: [category_id, company, position, description, is_activated,
- ➥ is_public, email, expires_at]
+ ➥ is_public, email, expires_at]
Como los filtros son siempre opcional, no hay necesidad de sobreescribir clase
filtro para configurar los campos que se mostrarán.
--
You received this message because you are subscribed to the Google Groups
"symfony SVN" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/symfony-svn?hl=en.