Skip to content

Commit

Permalink
add link to concept page (#799)
Browse files Browse the repository at this point in the history
  • Loading branch information
cedrikv committed Mar 13, 2023
1 parent 70dbf1d commit 89804ac
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ define([
this.uriViewNode.innerHTML = 'URI: ';
domConstruct.create('a', { href: this.concept.uri, innerHTML: this.concept.uri, target: '_blank' },
this.uriViewNode);
domAttr.set(this.viewConceptNode, 'href', '/conceptschemes/' + this.scheme + '/c/' + concept.id);

// LABELS
if (concept.labels && concept.label.length > 0) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
<div data-dojo-attach-point="conceptDetailNode">
<div class="large-12 columns" style="margin-top: 20px; padding-bottom: 20px;">
<div class="large-8 columns">
<div class="large-7 columns">
<h1 data-dojo-attach-point="conceptTitleViewNode"></h1>
<span class="concept-title-info" data-dojo-attach-point="idViewNode"></span>
<span class="concept-title-info" data-dojo-attach-point="typeViewNode"></span>
<span class="concept-title-info" data-dojo-attach-point="uriViewNode"></span>
</div>
<div class="large-4 columns">
<a href="#" class="button tiny right" data-dojo-attach-event="onClick: _deleteConcept">DELETE</a>
<div class="large-5 columns">
<a href="#" class="button tiny right" target="_blank" data-dojo-attach-point="viewConceptNode">VIEW</a>
<a href="#" class="button tiny right" style="margin-right: 10px;" data-dojo-attach-event="onClick: _deleteConcept">DELETE</a>
<a href="#" class="button tiny right" style="margin-right: 10px;" data-dojo-attach-event="onClick: _openEditDialog">EDIT</a>
<button href="#" class="button tiny right" style="margin-right: 10px;" data-dojo-attach-event="onClick: _openMergeDialog"
data-dojo-attach-point="mergeButton">MERGE</button>
Expand Down

0 comments on commit 89804ac

Please sign in to comment.