Commit edc8b211 authored by jocuri%softhome.net's avatar jocuri%softhome.net

Patch for bug 97868: Rename the "Edit" action (for attachments) to something…

Patch for bug 97868: Rename the "Edit" action (for attachments) to something else (use "Details"); patch by timeless <timeless@bemail.org>, r=mkanat, a=justdave.
parent 2ce4b59a
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
<b>Note:</b> [% terms.Bugzilla %] automatically detected the content type <b>Note:</b> [% terms.Bugzilla %] automatically detected the content type
<em>[% contenttype %]</em> for this attachment. If this is <em>[% contenttype %]</em> for this attachment. If this is
incorrect, correct the value by incorrect, correct the value by
<a href="attachment.cgi?id=[% attachid %]&amp;action=edit">editing the attachment</a>. editing the attachment's <a href="attachment.cgi?id=[% attachid %]&amp;action=edit">details</a>.
</p> </p>
[% END %] [% END %]
</td> </td>
......
...@@ -242,7 +242,7 @@ tbody.file pre:empty { ...@@ -242,7 +242,7 @@ tbody.file pre:empty {
[%# HEADER %] [%# HEADER %]
[% IF headers %] [% IF headers %]
<a href="[% PROCESS viewurl id=attachid %]">View</a> <a href="[% PROCESS viewurl id=attachid %]">View</a>
| <a href="[% PROCESS editurl id=attachid %]">Edit</a> | <a href="[% PROCESS editurl id=attachid %]">Details</a>
| <a href="[% PROCESS diffurl id=attachid %]&amp;context=[% context FILTER url_quote %]&amp;collapsed=[% collapsed FILTER url_quote %]&amp;headers=[% headers FILTER url_quote %]&amp;format=raw">Raw&nbsp;Unified</a> | <a href="[% PROCESS diffurl id=attachid %]&amp;context=[% context FILTER url_quote %]&amp;collapsed=[% collapsed FILTER url_quote %]&amp;headers=[% headers FILTER url_quote %]&amp;format=raw">Raw&nbsp;Unified</a>
[% END %] [% END %]
[% IF other_patches.size > 0 %] [% IF other_patches.size > 0 %]
......
...@@ -24,10 +24,10 @@ ...@@ -24,10 +24,10 @@
[%# Define strings that will serve as the title and header of this page %] [%# Define strings that will serve as the title and header of this page %]
[% title = BLOCK %] [% title = BLOCK %]
Edit Attachment [% attachment.id %] for [% terms.Bug %] [%+ attachment.bug_id %] Attachment [% attachment.id %] Details for [% terms.Bug %] [%+ attachment.bug_id %]
[% END %] [% END %]
[% h1 = BLOCK %] [% h1 = BLOCK %]
Edit Attachment [% attachment.id %] for Attachment [% attachment.id %] Details for
[%+ GetBugLink(attachment.bug_id, "$terms.Bug ${attachment.bug_id}") %] [%+ GetBugLink(attachment.bug_id, "$terms.Bug ${attachment.bug_id}") %]
[% END %] [% END %]
[% h2 = BLOCK %][% bugsummary FILTER html %][% END %] [% h2 = BLOCK %][% bugsummary FILTER html %][% END %]
...@@ -267,7 +267,7 @@ ...@@ -267,7 +267,7 @@
<textarea id="editFrame" name="comment" wrap="soft" cols="80" <textarea id="editFrame" name="comment" wrap="soft" cols="80"
style="height: 400px; width: 100%; display: none;"></textarea> style="height: 400px; width: 100%; display: none;"></textarea>
<iframe id="viewFrame" src="attachment.cgi?id=[% attachment.id %]" style="height: 400px; width: 100%;"> <iframe id="viewFrame" src="attachment.cgi?id=[% attachment.id %]" style="height: 400px; width: 100%;">
<b>You cannot view the attachment while editing it because your browser does not support IFRAMEs. <b>You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
<a href="attachment.cgi?id=[% attachment.id %]">View the attachment on a separate page</a>.</b> <a href="attachment.cgi?id=[% attachment.id %]">View the attachment on a separate page</a>.</b>
</iframe> </iframe>
<script type="text/javascript"> <script type="text/javascript">
......
...@@ -77,7 +77,7 @@ ...@@ -77,7 +77,7 @@
[% END %] [% END %]
<td valign="top"> <td valign="top">
<a href="attachment.cgi?id=[% attachment.id %]&amp;action=edit">Edit</a> <a href="attachment.cgi?id=[% attachment.id %]&amp;action=edit">Details</a>
[% IF attachment.ispatch && patchviewerinstalled %] [% IF attachment.ispatch && patchviewerinstalled %]
| <a href="attachment.cgi?id=[% attachment.id %]&amp;action=diff">Diff</a> | <a href="attachment.cgi?id=[% attachment.id %]&amp;action=diff">Diff</a>
[% END %] [% END %]
......
...@@ -78,7 +78,7 @@ ...@@ -78,7 +78,7 @@
</td> </td>
<td valign="top"> <td valign="top">
<a href="attachment.cgi?id=[% a.attachid %]&amp;action=edit">Edit</a> <a href="attachment.cgi?id=[% a.attachid %]&amp;action=edit">Details</a>
</td> </td>
</tr> </tr>
</table> </table>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment