Add link to individual page.
This commit is contained in:
parent
11560f138d
commit
0307dbb35b
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
||||||
<p class="title"><i class="fa fa-pie-chart"></i>%i18n:desktop.tags.mk-recommended-polls-home-widget.title%</p>
|
<p class="title"><i class="fa fa-pie-chart"></i>%i18n:desktop.tags.mk-recommended-polls-home-widget.title%</p>
|
||||||
<button onclick={ fetch } title="%i18n:desktop.tags.mk-recommended-polls-home-widget.refresh%"><i class="fa fa-refresh"></i></button>
|
<button onclick={ fetch } title="%i18n:desktop.tags.mk-recommended-polls-home-widget.refresh%"><i class="fa fa-refresh"></i></button>
|
||||||
<div class="poll" if={ !loading && poll != null }>
|
<div class="poll" if={ !loading && poll != null }>
|
||||||
<p class="text" if={ poll.text }>{ poll.text }</p>
|
<p class="text" if={ poll.text }><a href="/{ poll.user.username }/{ poll.id }">{ poll.text }<i class="fa fa-link"></i></a></p>
|
||||||
<mk-poll post={ poll }></mk-poll>
|
<mk-poll post={ poll }></mk-poll>
|
||||||
</div>
|
</div>
|
||||||
<p class="empty" if={ !loading && poll == null }>%i18n:desktop.tags.mk-recommended-polls-home-widget.nothing%</p>
|
<p class="empty" if={ !loading && poll == null }>%i18n:desktop.tags.mk-recommended-polls-home-widget.nothing%</p>
|
||||||
|
|
Loading…
Reference in a new issue