Skip to content

Commit

Permalink
feat(hal browser): use name over title in embedded resource heading
Browse files Browse the repository at this point in the history
  • Loading branch information
bethesque committed Sep 18, 2017
1 parent 0a9bc8c commit 6c61da7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vendor/hal-browser/browser.html
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ <h2>Embedded Resources</h2>

<script id="embedded-resource-template" type="text/template">
<div class="accordion-heading">
<a class="accordion-toggle" href="#"><%= resource.identifier %><% if (resource.title || resource.name) { %>: <span class="embedded-resource-title"><%- resource.title || resource.name %></span><% } %>
<a class="accordion-toggle" href="#"><%= resource.identifier %><% if (resource.name || resource.title) { %>: <span class="embedded-resource-title"><%- resource.name || resource.title %></span><% } %>
<% if (HAL.isUrl(resource.embed_rel)) { %>
<span class="dox pull-right" data-href="<%= HAL.buildUrl(resource.embed_rel) %>">
<i class="icon-book"></i>
Expand Down

0 comments on commit 6c61da7

Please sign in to comment.