Skip to content

Commit

Permalink
Debug notes_url display in cv_hosts
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaume Subiron authored and mohierf committed Jan 3, 2019
1 parent 80e58c5 commit 205edf7
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions module/plugins/cv_host/views/cv_host.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -138,13 +138,11 @@
<dd>(none)</dd>
%end

%if elt.notes_url:
<dt>Notes:</dt>
<dd>
%for note_url in elt.notes_url:
<button class="btn btn-default btn-xs">{{! note_url}}</button>
%end
</dd>
%if elt.notes or elt.notes_url:
<blockquote style="font-size: 14px;">
{{ elt.notes }}<br>
<a href="{{ elt.notes_url }}" target="_blank"><i class="fa fa-external-link"></i> {{ elt.notes_url }}</a>
</blockquote>
%end
</dl>
</div>
Expand Down

0 comments on commit 205edf7

Please sign in to comment.