<% Poll.viewlink %>
macro renders a link to the poll

Sourcecode in Poll/macros.js:
1:   function viewlink_macro(param) {
2:      try {
3:         if (!this.closed) {
4:            this.checkVote(session.user, req.data.memberlevel);
5:            Html.link({href: this.href()},
6:                      param.text ? param.text : getMessage("Poll.vote"));
7:         }
8:      } catch (deny) {
9:         return;
10:     }
11:     return;
12:  }