Skip to content

Commit

Permalink
Some minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
hharchani committed Feb 18, 2016
1 parent 705543b commit 0499005
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/app/views/contest/ttt_workshop.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ class="pure-input-1">
</h1>
<?php if ($user_details): ?>
<?php if ($user_details['payment_status'] == 'success'): ?>
<p class="success">You have successfully paid </p>
<p class="success"><?= __('You are successfully registered for the workshop') ?></p>
<?php else: ?>
<div class="text-center">
<?php if ($user_details['payment_status'] == 'failed'): ?>
<p class="error">Payment was unsuccessfull </p>
<p class="error"><?= __('Payment was unsuccessful') ?></p>
<?php endif; ?>

<a href="<?= $payment_url ?>" class="pure-button pure-button-primary some-top-margin">
Expand All @@ -56,8 +56,7 @@ class="pure-input-1">

<label><?= __('Contact number') ?></label>
<?php $text_input('contact_number') ?>
<button type="submit" class="pure-button pure-button-primary some-top-margin"><?= __('Proceed to payment ₹100') ?></button>

<button type="submit" class="pure-button pure-button-primary some-top-margin"><?= __('Proceed to pay ₹100') ?></button>
</fieldset>
</form>
<?php endif; ?>
Expand Down
2 changes: 2 additions & 0 deletions src/app/views/templates/sponsors/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@
<?php endforeach; ?>
</div>
<?php endforeach; ?>
<hr>
<h2><?= __('Past sponsors') ?></h2>
<h3><?= __('Year 2015') ?></h3>
<div class="row some-top-margin">
Expand Down Expand Up @@ -135,6 +136,7 @@
<?php endforeach; ?>
</div>
<?php endforeach; ?>
<hr>
<h3><?= __('Year 2014 and before') ?></h3>
<?php foreach (array_chunk($sponsors2014, 4) as $sponsors): ?>
<div class="row">
Expand Down

0 comments on commit 0499005

Please sign in to comment.