Skip to content

Commit

Permalink
Merge pull request #940 from inbaz/develop
Browse files Browse the repository at this point in the history
adjustments for e-tickets
  • Loading branch information
BigAndini authored Apr 8, 2017
2 parents 62fdd9d + 74ac1d8 commit 173897f
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 3 deletions.
3 changes: 3 additions & 0 deletions module/PreReg/src/PreReg/Controller/InfoController.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ public function indexAction() {
'deadline' => $deadline,
));
}
public function formsAction() {
return new ViewModel(array());
}
public function termsAction() {
$forrest = new Service\BreadcrumbService();
if(!$forrest->exists('terms')) {
Expand Down
6 changes: 3 additions & 3 deletions module/PreReg/view/pdf/eticket.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,9 @@
<?php endif; ?>
<div class="left-field">
<h3><?php echo $this->translate('Brief instruction'); ?></h3>
<p><?php printf($this->translate('This is your <strong>E-Ticket</strong> for the %s. Please bring this document with you to the event! It\'s not necessarily needed to print your E-Ticket. You can present it on any electronical device.'), $config['ERS']['name_with_year']); ?></p>
<p><?php printf($this->translate('This is your <strong>E-Ticket</strong> for the %s. Please bring this document with you to the event! It isn\'t necessary to print your E-Ticket. You can present it on any electronic device.'), $config['ERS']['name_with_year']); ?></p>
<?php if($personalized): ?>
<p><?php printf($this->translate('Please make sure that your data (name, firstname, date of birth) on this E-Ticket are the same as the ones on your <strong>ID card</strong> or <strong>passport</strong>. This will help us that only you can enter with your E-ticket and nobody else.')) ?></p>
<p><?php printf($this->translate('Please make sure that the data (name, first name, date of birth) on this E-Ticket are exactly the same as the ones on your <strong>ID card</strong> or <strong>passport</strong>. This guarantees that only you can register for the event with your E-ticket and nobody else.')) ?></p>

<?php if($agegroup):
switch($agegroup->getName()):
Expand All @@ -178,7 +178,7 @@
<?php
$youthFormUrl = $this->url('info', array('action' => 'forms'), array('force_canonical' => true));
$youthFormLink = '<a href="'.$youthFormUrl.'">'.$youthFormUrl.'</a>';
printf($this->translate('<strong>Do not forget: Bring a filled and signed U16/U18 form with you.</strong> This form needs to be signed by your parents or your legal guardian. Without this signed form we\'re not allowed to let you access the EJC area. You can find this form at %s.'),
printf($this->translate('<strong>Do not forget: Bring a filled and signed U16/U18 form with you.</strong> This form must be printed and signed by your parents or your legal guardian. Without a signed U16/U18 form you cannot attend the event. You can find this form at %s.'),
$youthFormLink) ?>
</p>
<?php break;
Expand Down
23 changes: 23 additions & 0 deletions module/PreReg/view/pre-reg/info/forms.phtml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?php
$title = $this->translate('Forms for participants of age under 16 and under 18');
$this->headTitle($title);
?>
<h1 class="page-title"><?php echo $title; ?></h1>
<div class="row">
<div class="col-md-6">
<h2>Participants under 16</h2>
<p>Participants under 16 years need an adult supervisor who is responsible for the participant throughout the event.</p>
</div>
<div class="col-md-6">
<h2>Participants under 18</h2>
<p>Participants under 18 years need a letter of agreement signed by a legal guardian, so that they are allowed to attend the event on their own.</p>
</div>
</div>
<div class="row">
<div class="col-md-6 text-center">
<a class="btn btn-lg btn-primary" href="#">get the form for U16 participants</a>
</div>
<div class="col-md-6 text-center">
<a class="btn btn-lg btn-primary" href="#">get the form for U18 participants</a>
</div>
</div>

0 comments on commit 173897f

Please sign in to comment.