diff --git a/locale/en.json b/locale/en.json index f6c41e4dc7d007aa4a43de8fd39acde396d094a9..a0a35190a299dc48a02383b2fe59db4822212b10 100644 --- a/locale/en.json +++ b/locale/en.json @@ -283,7 +283,8 @@ "Vote yes for": "Vote \"yes\" for", "Votes of the poll": "Votes", "polled user": "polled user", - "polled users": "polled users" + "polled users": "polled users", + "Link to edit this particular line" : "Link to edit this particular line" }, "PollInfo": { "Admin link of the poll": "Admin link for the poll", diff --git a/tpl/part/vote_table_classic.tpl b/tpl/part/vote_table_classic.tpl index 9b18189adbed2c8f939ee5fc54b852231d6cb5d4..1b57894f61dda7ff4fd00cac7d0e297644426008 100644 --- a/tpl/part/vote_table_classic.tpl +++ b/tpl/part/vote_table_classic.tpl @@ -151,6 +151,11 @@ title="{__('Poll results', 'Remove the line:')} {$vote->name|html}"> <i class="glyphicon glyphicon-remove text-danger"></i><span class="sr-only">{__('Generic', 'Remove')}</span> </a> + + <a href="{poll_url id=$poll->id vote_id=$vote->uniqId}" class="btn btn-default btn-sm"> + {__('Poll results', 'Link to edit this particular line')} <span class="btn-link glyphicon glyphicon-link"></span> + </a> + {/if} </td> {else} diff --git a/tpl/part/vote_table_date.tpl b/tpl/part/vote_table_date.tpl index 0fa5804df44eb0005c052d7f6667862b6b393f89..db8cdce97440656d968748a7f23b1f33d7076ad1 100644 --- a/tpl/part/vote_table_date.tpl +++ b/tpl/part/vote_table_date.tpl @@ -209,6 +209,11 @@ title="{__('Poll results', 'Remove the line:')} {$vote->name|html}"> <i class="glyphicon glyphicon-remove text-danger"></i><span class="sr-only">{__('Generic', 'Remove')}</span> </a> + + <a href="{poll_url id=$poll->id vote_id=$vote->uniqId}" class="btn btn-default btn-sm"> + {__('Poll results', 'Link to edit this particular line')} <span class="btn-link glyphicon glyphicon-link"></span> + </a> + {/if} </td> {else}