|
|
|
@ -156,30 +156,35 @@ |
|
|
|
|
<div class="section gf-form-group" ng-if="style.link"> |
|
|
|
|
<h5 class="section-heading">Link</h5> |
|
|
|
|
<div class="gf-form"> |
|
|
|
|
<label class="gf-form-label width-9">Url</label> |
|
|
|
|
<label class="gf-form-label width-9"> |
|
|
|
|
Url |
|
|
|
|
<info-popover mode="right-normal"> |
|
|
|
|
<p>Specify an URL (relative or absolute)</p> |
|
|
|
|
<span> |
|
|
|
|
Use special variables to specify cell values: |
|
|
|
|
<br> |
|
|
|
|
<em>${__cell}</em> refers to current cell value |
|
|
|
|
<br> |
|
|
|
|
<em>${__cell_n}</em> refers to Nth column value in current row. Column indexes are started from 0. For instance, |
|
|
|
|
<em>${__cell_1}</em> refers to second column's value. |
|
|
|
|
<br> |
|
|
|
|
<em>${__cell:raw}</em> syntax. By default values are URI encoded. If the value is a complete URL you can disable all encoding using |
|
|
|
|
</span> |
|
|
|
|
</info-popover> |
|
|
|
|
</label> |
|
|
|
|
<input type="text" class="gf-form-input width-29" ng-model="style.linkUrl" ng-blur="editor.render()" ng-model-onblur data-placement="right"> |
|
|
|
|
<info-popover mode="right-absolute"> |
|
|
|
|
<p>Specify an URL (relative or absolute)</p> |
|
|
|
|
<span> |
|
|
|
|
Use special variables to specify cell values: |
|
|
|
|
<br> |
|
|
|
|
<em>${__cell}</em> refers to current cell value |
|
|
|
|
<br> |
|
|
|
|
<em>${__cell_n}</em> refers to Nth column value in current row. Column indexes are started from 0. For instance, |
|
|
|
|
<em>${__cell_1}</em> refers to second column's value. |
|
|
|
|
</span> |
|
|
|
|
</info-popover> |
|
|
|
|
</div> |
|
|
|
|
<div class="gf-form"> |
|
|
|
|
<label class="gf-form-label width-9">Tooltip</label> |
|
|
|
|
<label class="gf-form-label width-9"> |
|
|
|
|
Tooltip |
|
|
|
|
<info-popover mode="right-normal"> |
|
|
|
|
<p>Specify text for link tooltip.</p> |
|
|
|
|
<span> |
|
|
|
|
This title appears when user hovers pointer over the cell with link. Use the same variables as for URL. |
|
|
|
|
</span> |
|
|
|
|
</info-popover></label> |
|
|
|
|
<input type="text" class="gf-form-input width-29" ng-model="style.linkTooltip" ng-blur="editor.render()" ng-model-onblur |
|
|
|
|
data-placement="right"> |
|
|
|
|
<info-popover mode="right-absolute"> |
|
|
|
|
<p>Specify text for link tooltip.</p> |
|
|
|
|
<span> |
|
|
|
|
This title appears when user hovers pointer over the cell with link. Use the same variables as for URL. |
|
|
|
|
</span> |
|
|
|
|
</info-popover> |
|
|
|
|
</div> |
|
|
|
|
<gf-form-switch class="gf-form" label-class="width-9" label="Open in new tab" checked="style.linkTargetBlank"></gf-form-switch> |
|
|
|
|
</div> |
|
|
|
|