Skip to content

Commit

Permalink
Merge pull request #117 from nyuhsl/feature/114-create-links-for-data…
Browse files Browse the repository at this point in the history
…-types

Adding search links to 'Data Types' element in dataset display
  • Loading branch information
ianlamb77 authored Feb 8, 2019
2 parents b9b47c8 + f03bdd3 commit a0303a1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/Resources/views/default/view_dataset.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@
<dt>Dataset Type</dt>
<dd>
{% for type in dataset.dataTypes %}
<div class="multiple-item-list">{{ type.getDisplayName }}</div>
<div class="multiple-item-list"><a href="/search?keyword=data_types:{{ type.getDisplayName }}">{{ type.getDisplayName }}</a></div>
{% endfor %}
</dd>
{% endif %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ $(function () {
<dt>Data Type</dt>
<dd>
{% for type in dataset.dataTypes %}
<div class="multiple-item-list">{{ type.getDisplayName }}</div>
<div class="multiple-item-list"><a href="/search?keyword=data_types:{{ type.getDisplayName }}">{{ type.getDisplayName }}</a></div>
{% endfor %}
</dd>
{% endif %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ $(function () {
<dt>Data Type</dt>
<dd>
{% for type in dataset.dataTypes %}
<div class="multiple-item-list">{{ type.getDisplayName }}</div>
<div class="multiple-item-list"><a href="/search?keyword=data_types:{{ type.getDisplayName }}">{{ type.getDisplayName }}</a></div>
{% endfor %}
</dd>
{% endif %}
Expand Down

0 comments on commit a0303a1

Please sign in to comment.