Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed template for linked resources. #1197

Merged
merged 1 commit into from
Jan 24, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions application/view/common/linked-resources.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ $pagination->setFragment($fragment);
<div id="linked-resources">
<div class="linked-header">
<div id="linked-filter">
<h4>Filter by property</h4>
<h4><?php echo $this->translate('Filter by property'); ?></h4>
<select id="filter-property" name="property" data-url="<?php echo $escape($this->url(null, [], true)); ?>" data-fragment="<?php echo $escape($fragment); ?>">
<option value="">All</option>
<option value=""><?php echo $this->translate('All'); ?></option>
<?php foreach ($properties as $prop): ?>
<option value="<?php echo $escape($prop->id()); ?>"<?php echo $prop->id() == $property ? ' selected="selected"' : ''; ?>><?php echo $escape(sprintf('%s (%s)', $prop->label(), $prop->term())); ?></option>
<?php endforeach; ?>
Expand Down Expand Up @@ -43,7 +43,7 @@ $pagination->setFragment($fragment);
<td><?php echo $value->resource()->linkPretty(); ?></td>
<td>
<?php if ($altLabel): ?>
<span class="alternate-label"><?php echo $this->escapeHtml($altLabel); ?>
<span class="alternate-label"><?php echo $this->escapeHtml($altLabel); ?></span>
<?php endif; ?>
</td>
<td>
Expand Down