Changeset 12168
- Timestamp:
- 10/31/2022 07:08:18 AM (2 years ago)
- Location:
- sites/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/trac.wordpress.org/templates/site.html
r12156 r12168 5 5 6 6 <?python 7 scripts_version = '20 7'7 scripts_version = '208' 8 8 project_slug = req.environ['HTTP_HOST'].split(':')[0].split('.')[0] 9 9 wporg_endpoint = 'https://make.wordpress.org/' + project_slug + '/' -
sites/trunk/trac.wordpress.org/templates/ticket_change.html
r11795 r12168 69 69 <br /><span class="time-ago">${dateinfo(change.date)} ago</span> 70 70 </span> 71 <span class="threading"> 72 <span py:if="'cnum' in change" id="comment:$cnum" class="cnum">${commentref('#', cnum)}</span> 73 </span> 74 <div py:if="show_buttons" class="trac-ticket-buttons"> 75 <form py:if="'cnum' in change and can_edit_comment" method="get" action="#comment:${cnum}"> 76 <div class="inlinebuttons"> 77 <input type="hidden" name="cnum_edit" value="${cnum}"/> 78 <input type="submit" value="${captioned_button('✎', _('Edit'))}" title="${_('Edit comment %(cnum)s', cnum=cnum)}" /> 79 </div> 80 </form> 81 </div> 71 82 </h3> 72 83 <ul py:if="change.fields" class="changes"> … … 88 99 </li> 89 100 </ul> 90 <div py:if="pr_comment " class="comment searchable" xml:space="preserve">101 <div py:if="pr_comment and not show_editor" class="comment searchable" xml:space="preserve"> 91 102 ${wiki_to_html(context, pr_comment, escape_newlines=preserve_newlines)} 92 103 </div> 104 <form py:if="show_editor" id="trac-comment-editor" method="post" action="${href.ticket(ticket.id) + '#comment:%d' % cnum}"> 105 <div> 106 <textarea name="edited_comment" class="wikitext trac-resizable" rows="10" cols="78"> 107 ${edited_comment if edited_comment is not None else change.comment}</textarea> 108 <input type="hidden" name="cnum_edit" value="${cnum}"/> 109 </div> 110 <div class="buttons"> 111 <input type="submit" name="edit_comment" value="${_('Submit changes')}" title="${_('Submit changes to comment %(cnum)s', cnum=cnum)}"/> 112 <input type="submit" name="cancel_comment" value="${_('Cancel')}" title="Cancel comment edit"/> 113 </div> 114 </form> 93 115 </py:when> 94 116 <py:otherwise> -
sites/trunk/wordpress.org/public_html/style/trac/wp-trac.css
r12076 r12168 934 934 } 935 935 #changelog h3.chat-bot .trac-ticket-buttons { 936 display: none; 937 } 938 #changelog h3.chat-bot.pr-bot:hover .trac-ticket-buttons { 939 display: inherit; 940 } 941 #changelog h3.chat-bot.pr-bot .trac-ticket-buttons .trac-delete { 936 942 display: none; 937 943 }
Note: See TracChangeset
for help on using the changeset viewer.