How to make the "Most Viewed Articles" word as hyperlink
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2024 09:32 AM
Hi All,
I want to add the hyperlink in the "Most Viewed Articles" word as a hyperlink
I cloned the "Most Viewed Articles" widget but I can't find the place to make this word a hyperlink
<sp-panel ng-if="data.articles.length > 0" >
<ul class="list-group">
<li class="list-group-item" ng-repeat="a in data.articles">
<a href="?id=kb_article&sys_id={{::a.sys_id}}">{{::a.short_description}}</a>
<div>
<span ng-if="a.sys_view_count == 1" class="views pad-right">
<glyph sn-char="eye-open" class="pad-right"></glyph>
${{{::a.sys_view_count}} View}
</span>
<span ng-if="a.sys_view_count > 1" class="views pad-right">
<glyph sn-char="eye-open" class="pad-right"></glyph>
${{{::a.sys_view_count}} Views}
</span>
<span ng-if="false" class="published pad-right">
<span ng-if="a.sys_view_count > 0" class="pad-right">•</span> <glyph sn-char="calendar" class="pad-right"></glyph>
<sn-day-ago date="a.published"></sn-day-ago>
</span>
</div>
</li>
</ul>
</sp-panel>
0 REPLIES 0