diff options
-rw-r--r-- | app/views/issues/_form.html.haml | 2 | ||||
-rw-r--r-- | app/views/issues/_show.html.haml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/issues/_form.html.haml b/app/views/issues/_form.html.haml index ec3edce066a..2ba72975282 100644 --- a/app/views/issues/_form.html.haml +++ b/app/views/issues/_form.html.haml @@ -12,7 +12,7 @@ = f.label :title do %strong= "Subject *" .input - = f.text_field :title, maxlength: 255, class: "xxlarge gfm-input" + = f.text_field :title, maxlength: 255, class: "xxlarge gfm-input", autofocus: true .issue_middle_block .issue_assignee = f.label :assignee_id do diff --git a/app/views/issues/_show.html.haml b/app/views/issues/_show.html.haml index 4b6823f53c7..8aa92ebfd6a 100644 --- a/app/views/issues/_show.html.haml +++ b/app/views/issues/_show.html.haml @@ -16,7 +16,7 @@ = link_to 'Reopen', project_issue_path(issue.project, issue, issue: {closed: false }, status_only: true), method: :put, class: "btn small grouped reopen_issue", remote: true - else = link_to 'Close', project_issue_path(issue.project, issue, issue: {closed: true }, status_only: true), method: :put, class: "btn small grouped close_issue", remote: true - = link_to edit_project_issue_path(issue.project, issue), class: "btn small edit-issue-link", remote: true do + = link_to edit_project_issue_path(issue.project, issue), class: "btn small edit-issue-link grouped", remote: true do %i.icon-edit Edit |