This repository has been archived by the owner on May 1, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 159
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: Pass in repository instead of array
- Loading branch information
1 parent
92b441d
commit 2ef9b42
Showing
4 changed files
with
30 additions
and
21 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
12 changes: 6 additions & 6 deletions
12
module/ZfModule/view/zf-module/helper/module-description.phtml
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,13 +1,13 @@ | ||
<div class="row"> | ||
<div class="hidden-xs col-sm-2"> | ||
<img src="<?php echo $this->escapeHtmlAttr($module['photo_url']) ?>" alt="<?php echo $this->escapeHtmlAttr($module['owner']) ?>" class="thumbnail img-responsive"> | ||
<img src="<?php echo $this->escapeHtmlAttr($this->photoUrl); ?>" alt="<?php echo $this->escapeHtmlAttr($this->owner); ?>" class="thumbnail img-responsive"> | ||
</div> | ||
<div class="col-xs-7 col-sm-6"> | ||
<p><strong><?php echo $this->escapeHtml($module['name']) ?></strong></p> | ||
<p><span class="zf-green">Submitter:</span> <?php echo $this->escapeHtml($module['owner']) ?></p> | ||
<p><span class="zf-green">Created:</span> <?php echo $this->dateFormat(new DateTime($module['created_at']), IntlDateFormatter::SHORT, IntlDateFormatter::SHORT); ?></p> | ||
<p><strong><?php echo $this->escapeHtml($this->name); ?></strong></p> | ||
<p><span class="zf-green">Submitter:</span> <?php echo $this->escapeHtml($this->owner); ?></p> | ||
<p><span class="zf-green">Created:</span> <?php echo $this->dateFormat(new DateTime($this->createdAt), IntlDateFormatter::SHORT, IntlDateFormatter::SHORT); ?></p> | ||
</div> | ||
<div class="col-xs-4"> | ||
<a href="<?php echo $this->escapeHtmlAttr($module['url']) ?>">Show module on GitHub</a> | ||
<a href="<?php echo $this->escapeHtmlAttr($this->url); ?>">Show module on GitHub</a> | ||
</div> | ||
</div> | ||
</div> |
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