Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of git@github.com:bshaffer/Donate-Nashville
- Loading branch information
Showing
15 changed files
with
72 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
apps/frontend/modules/resource/templates/_resource_contact_header.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?php if ($transaction_type == 'have'): ?> | ||
<?php if ($resource_type == 'stuff'): ?> | ||
I need this! | ||
<?php else: ?> | ||
I want to help! | ||
<?php endif ?> | ||
<?php else: ?> | ||
<?php if ($resource_type == 'stuff'): ?> | ||
I have this! | ||
<?php else: ?> | ||
Please help me! | ||
<?php endif ?> | ||
<?php endif ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,17 @@ | ||
<?php use_helper('dh') ?> | ||
|
||
<?php if (count($results)): ?> | ||
<ul class="results-list search-results clearfix"> | ||
<?php $i = 0; ?> | ||
<?php foreach ($results as $result): ?> | ||
<li <?php echo $i % 2 == 0 ? 'class="alt"' : '' ?>> | ||
<div class="right"> | ||
<?php echo link_to('More Info', '@stuff_show?id='. $result['id'], array('class'=>'button')) ?> | ||
<?php echo link_to('More Info', '@'.opposite_of($transaction_type).'_stuff_show?id='. $result['id'], array('class'=>'button')) ?> | ||
</div> | ||
<h3 class="no-margin"><?php echo link_to($result['title'], '@stuff_show?id='. $result['id']) ?></h3> | ||
<h3 class="no-margin"><?php echo link_to($result['title'], '@'.opposite_of($transaction_type).'_stuff_show?id='. $result['id']) ?></h3> | ||
<strong>Quantity <?php echo $transaction_type == 'have' ? 'Available' : 'Needed' ?>:</strong> 3 • <span class=""><strong>Added:</strong> May 5, 2010</span> • <strong>Germantown</strong> | ||
</li> | ||
<?php $i++; ?> | ||
<?php endforeach ?> | ||
</ul> | ||
</ul> | ||
<?php endif ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters