]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1556465 - When assigning to self on enter_bug.cgi, the (take) link should be...
authordklawren <dklawren@users.noreply.github.com>
Wed, 5 Jun 2019 20:20:34 +0000 (16:20 -0400)
committerGitHub <noreply@github.com>
Wed, 5 Jun 2019 20:20:34 +0000 (16:20 -0400)
extensions/BMO/template/en/default/hook/bug/create/create-after_custom_fields.html.tmpl
extensions/UserStory/template/en/default/hook/bug/create/create-after_custom_fields.html.tmpl
template/en/default/bug/create/create.html.tmpl
template/en/default/bug/field.html.tmpl

index 47d86bd58d37b2dd31205585cd60c509ca40ac72..aaf934fdbbbcc60c8eb46226e1df66e3828f82b8 100644 (file)
@@ -16,7 +16,8 @@
       <td colspan="3">
         <span id="cf_crash_signature_container">
           <span id="cf_crash_signature_nonedit_display"><i>None</i></span>
-          (<a id="cf_crash_signature_action" href="#">edit</a>)
+          <button type="button" class="minor"
+                  id="cf_crash_signature_action">Edit</button>
         </span>
         <span id="cf_crash_signature_input">
           <textarea id="cf_crash_signature" name="cf_crash_signature" rows="4" cols="60"
index 3ec91ad3c8b90bc7d9f9e02ea6f1f8934233c6ba..658ec3ee6b0f15ead7b3f6a978d218975d61da71 100644 (file)
     </th>
     <td colspan="3">
       <div id="user_story_header">
-          <span id="user_story_edit">
-            (<a href="javascript:void(0)" id="user_story_edit_action">edit</a>)
-          </span>
+        <span id="user_story_edit">
+          <button type="button" class="minor"
+                  id="user_story_edit_action">Edit</button>
+        </span>
       </div>
       <div id="user_story_edit_container" class="bz_default_hidden">
         [% user_story_default = cloned_bug ? cloned_bug.cf_user_story : default.cf_user_story %]
index 85b4fee8cf5d7219ecbe09f42fadda2fc0be4685..d7ce09a80b472e453ce598b9b6fff4c5e6a0a96f 100644 (file)
@@ -415,8 +415,9 @@ TUI_hide_default('expert_fields');
       %]
       [% UNLESS assigned_to_disabled %]
         <span id="take_bug">
-        &nbsp;(<a title="Assign to yourself" href="#"
-                  onclick="return take_bug('[% user.login FILTER js %]')">take</a>)
+          <button title="Assign to yourself"
+                  type="button" class="minor"
+                  onclick="return take_bug('[% user.login FILTER js %]')">Take</button>
         </span>
       [% END %]
       <noscript>(Leave blank to assign to component's default assignee)</noscript>
index a38a5a07c0dba702fa4a43dfcd4bc127d11d8f40..d9cc8e7c25b3224c89cc840e069759fc9aeeab68 100644 (file)
@@ -89,7 +89,8 @@
           [% value FILTER bug_link(value, use_alias => 1) FILTER none %]
         [% END %]
         <span id="[% field.name FILTER html %]_edit_container" class="edit_me bz_default_hidden">
-          (<a href="#" id="[% field.name FILTER html %]_edit_action">edit</a>)
+          <button type="button" class="minor"
+                  id="[% field.name FILTER html %]_edit_action">Edit</button>
         </span>
         <script [% script_nonce FILTER none %]>
         hideEditableField('[% field.name FILTER js %]_edit_container',
      [% CASE constants.FIELD_TYPE_TEXTAREA %]
        <div id="[% field.name FILTER html %]_edit_container" class="bz_default_hidden">
          <div>
-             (<a href="#" id="[% field.name FILTER html %]_edit_action">edit</a>)
+           <button type="button" class="minor"
+                   id="[% field.name FILTER html %]_edit_action">Edit</button>
          </div>
          [% IF value %]
            <pre class="field_textarea_readonly">[% value FILTER html %]</pre>