Skip to content

Commit

Permalink
Fixed bug that details view of mappings was showing generators.
Browse files Browse the repository at this point in the history
  • Loading branch information
aedelmann committed Jun 26, 2017
1 parent d54f00b commit cb78491
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ <h4>Model Preview</h4>
</div>

</div>
<div class="col-lg-3 col-xs-12 text-center modelGen" ng-hide="model.type === 'Datatype'">
<div class="col-lg-3 col-xs-12 text-center modelGen" ng-hide="model.type === 'Datatype' || model.type === 'Mapping'">
<div class="row">
<label>Available Generators: </label>
</div>
Expand All @@ -126,7 +126,7 @@ <h4>Model Preview</h4>
</div>
<div class="tiny-box-action">
<span>
<button class="btn btn-block btn-info btn-xs" data-toggle="modal">Generate</button>
<button class="btn btn-block btn-info btn-xs" data-toggle="modal">Generate</button>
</span>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<input type="text" ng-model="queryFilter" ng-keypress="searchOnEnter($event)" placeholder="Filter Information Models" class="queryFilter" autofocus>
<button id="search" type="button" class="btn btn-primary" ng-click="search()">Search</button>
<button type="button" class="btn btn-primary" ng-click="clearInput()">Clear</button>
<a uib-popover-html="'<b>Describe</b> and <b>Publish</b> a new information model.'" popover-trigger="mouseenter" ng-show="context.webEditor.enabled" class="btn btn-default btn-primary pull-right" target="_blank" href="{{ webEditorLink() }}" role="button"><span class="glyphicon glyphicon-plus" aria-hidden="true"></span>&nbsp;New Information Model</a>
<a uib-popover-html="'<b>Describe</b> a new device and <b>Publish</b> it as an information model.'" popover-trigger="mouseenter" ng-show="context.webEditor.enabled" class="btn btn-default btn-primary pull-right" target="_blank" href="{{ webEditorLink() }}" role="button"><span class="glyphicon glyphicon-plus" aria-hidden="true"></span>&nbsp;New Information Model</a>
</div>
</div>
</div>
Expand Down

0 comments on commit cb78491

Please sign in to comment.