[Front-end] Integrate Hyperlink related changes from #1685 work
Fixes #1685
(cherry picked from commit 4dff369)
This commit is contained in:
@@ -19,14 +19,10 @@
|
||||
this source code distribution or the Licensing information page available
|
||||
at runtime from the About dialog for additional information.
|
||||
-->
|
||||
<div class="s-hyperlink" ng-controller="HyperlinkController as hyperlink">
|
||||
<div>
|
||||
<a href="{{domainObject.getModel().url}}"
|
||||
ng-attr-target="{{hyperlink.openNewTab() ? '_blank' : undefined}}"
|
||||
ng-class="{
|
||||
's-button': hyperlink.isButton()
|
||||
}">
|
||||
{{domainObject.getModel().displayText}}
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<a class="s-hyperlink" ng-controller="HyperlinkController as hyperlink" href="{{domainObject.getModel().url}}"
|
||||
ng-attr-target="{{hyperlink.openNewTab() ? '_blank' : undefined}}"
|
||||
ng-class="{
|
||||
's-button': hyperlink.isButton()
|
||||
}">
|
||||
<div class="label">{{domainObject.getModel().displayText}}</div>
|
||||
</a>
|
||||
|
||||
Reference in New Issue
Block a user