Making WordPress.org

Changeset 1983


Ignore:
Timestamp:
10/17/2015 04:12:40 AM (9 years ago)
Author:
nacin
Message:

Trac: Restore 'Reply' button for slackbot comments.

props SergeyBiryukov.
fixes #1337.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/trac.wordpress.org/templates/ticket_change.html

    r1978 r1983  
    4242      <br /><span class="time-ago">${dateinfo(change.date)} ago</span>
    4343    </span>
     44    <div py:if="show_buttons" class="trac-ticket-buttons">
     45      <form py:if="'cnum' in change and can_append" id="reply-to-comment-${cnum}"
     46            method="get" action="#comment">
     47        <div class="inlinebuttons">
     48          <input type="hidden" name="replyto" value="${cnum}"/>
     49          <input type="submit" value="${captioned_button('↳', _('Reply'))}" title="${_('Reply to comment %(cnum)s', cnum=cnum)}" />
     50        </div>
     51      </form>
     52    </div>
    4453  </h3>
    4554</py:when>
Note: See TracChangeset for help on using the changeset viewer.