{"action":"created","comment":{"url":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/pulls/comments/65266742","id":65266742,"diff_hunk":"@@ -1,44 +1,43 @@\n-<%-\r\n-    baseurl = Redmine::Utils.relative_url_root\r\n-    helpImg = baseurl + \"/images/help.png\"\r\n-%>\r\n <%= error_messages_for 'issue_template' %>\r\n <div class=\"box tabular\" style=\"background-color: white;\">\r\n-  <p><%= f.text_field :title, :required => true, :size => 80, :label => l(:issue_template_name) %> </p>\r\n+  <p><%= f.text_field :title, required: true, size: 80, label: l(:issue_template_name) %> </p>\r\n \r\n   <fieldset class=\"issue\">\r\n     <legend class=\"issue\"><%= l(:label_applied_for_issue) %></legend>\r\n     <p>\r\n       <% if @global_issue_template.tracker.blank? %>\r\n-          <%= f.select :tracker_id, @trackers.collect {|t| [t.name, t.id]}, {:required => true},\r\n-                       :required => true,:label => l(:label_tracker)  %>\r\n+          <%= f.select :tracker_id, @trackers.collect {|t| [t.name, t.id]}, { required: true },\r\n+                       required: true, label: l(:label_tracker)  %>\r\n           　<% else %>\r\n-          <%= f.select :tracker_id, @trackers.collect {|t| [t.name, t.id]}, {:required => true},\r\n-                       :required => true,:label => l(:label_tracker), :selected => @global_issue_template.tracker.id %>\r\n+          <%= f.select :tracker_id, @trackers.collect {|t| [t.name, t.id]}, { required: true },\r\n+                       required: true, label: l(:label_tracker), selected: @global_issue_template.tracker.id %>\r","path":"app/views/global_issue_templates/_form.html.erb","position":22,"original_position":22,"commit_id":"6759c344fcda5064fb06239c095288883ebe57f3","original_commit_id":"6759c344fcda5064fb06239c095288883ebe57f3","user":{"login":"akiko-pusu","id":122621,"avatar_url":"https://avatars.githubusercontent.com/u/122621?v=3","gravatar_id":"","url":"https://api.github.com/users/akiko-pusu","html_url":"https://github.com/akiko-pusu","followers_url":"https://api.github.com/users/akiko-pusu/followers","following_url":"https://api.github.com/users/akiko-pusu/following{/other_user}","gists_url":"https://api.github.com/users/akiko-pusu/gists{/gist_id}","starred_url":"https://api.github.com/users/akiko-pusu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akiko-pusu/subscriptions","organizations_url":"https://api.github.com/users/akiko-pusu/orgs","repos_url":"https://api.github.com/users/akiko-pusu/repos","events_url":"https://api.github.com/users/akiko-pusu/events{/privacy}","received_events_url":"https://api.github.com/users/akiko-pusu/received_events","type":"User","site_admin":false},"body":"__[rails_best_practices]__\n* replace instance variable with local variable [:ref](http://rails-bestpractices.com/posts/2010/07/24/replace-instance-variable-with-local-variable/)","created_at":"2016-05-31T21:31:56Z","updated_at":"2016-05-31T21:31:56Z","html_url":"https://github.com/akiko-pusu/redmine_issue_templates/pull/3#discussion_r65266742","pull_request_url":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/pulls/comments/65266742"},"html":{"href":"https://github.com/akiko-pusu/redmine_issue_templates/pull/3#discussion_r65266742"},"pull_request":{"href":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/pulls/3","id":72089346,"html_url":"https://github.com/akiko-pusu/redmine_issue_templates/pull/3","diff_url":"https://github.com/akiko-pusu/redmine_issue_templates/pull/3.diff","patch_url":"https://github.com/akiko-pusu/redmine_issue_templates/pull/3.patch","issue_url":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/issues/3","number":3,"state":"open","locked":false,"title":"Feature/bitbucket 78 prevent load template when status change","user":{"login":"akiko-pusu","id":122621,"avatar_url":"https://avatars.githubusercontent.com/u/122621?v=3","gravatar_id":"","url":"https://api.github.com/users/akiko-pusu","html_url":"https://github.com/akiko-pusu","followers_url":"https://api.github.com/users/akiko-pusu/followers","following_url":"https://api.github.com/users/akiko-pusu/following{/other_user}","gists_url":"https://api.github.com/users/akiko-pusu/gists{/gist_id}","starred_url":"https://api.github.com/users/akiko-pusu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akiko-pusu/subscriptions","organizations_url":"https://api.github.com/users/akiko-pusu/orgs","repos_url":"https://api.github.com/users/akiko-pusu/repos","events_url":"https://api.github.com/users/akiko-pusu/events{/privacy}","received_events_url":"https://api.github.com/users/akiko-pusu/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-05-31T21:31:51Z","updated_at":"2016-05-31T21:31:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"341caac6525939182dced13413c569eede824259","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/pulls/3/commits","review_comments_url":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/pulls/3/comments","review_comment_url":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/pulls/comments{/number}","comments_url":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/issues/3/comments","statuses_url":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/statuses/6759c344fcda5064fb06239c095288883ebe57f3","head":{"label":"akiko-pusu:feature/bitbucket-78_prevent_load_template-when_status_change","ref":"feature/bitbucket-78_prevent_load_template-when_status_change","sha":"6759c344fcda5064fb06239c095288883ebe57f3","user":{"login":"akiko-pusu","id":122621,"avatar_url":"https://avatars.githubusercontent.com/u/122621?v=3","gravatar_id":"","url":"https://api.github.com/users/akiko-pusu","html_url":"https://github.com/akiko-pusu","followers_url":"https://api.github.com/users/akiko-pusu/followers","following_url":"https://api.github.com/users/akiko-pusu/following{/other_user}","gists_url":"https://api.github.com/users/akiko-pusu/gists{/gist_id}","starred_url":"https://api.github.com/users/akiko-pusu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akiko-pusu/subscriptions","organizations_url":"https://api.github.com/users/akiko-pusu/orgs","repos_url":"https://api.github.com/users/akiko-pusu/repos","events_url":"https://api.github.com/users/akiko-pusu/events{/privacy}","received_events_url":"https://api.github.com/users/akiko-pusu/received_events","type":"User","site_admin":false},"repo":{"id":58836786,"name":"redmine_issue_templates","full_name":"akiko-pusu/redmine_issue_templates","owner":{"login":"akiko-pusu","id":122621,"avatar_url":"https://avatars.githubusercontent.com/u/122621?v=3","gravatar_id":"","url":"https://api.github.com/users/akiko-pusu","html_url":"https://github.com/akiko-pusu","followers_url":"https://api.github.com/users/akiko-pusu/followers","following_url":"https://api.github.com/users/akiko-pusu/following{/other_user}","gists_url":"https://api.github.com/users/akiko-pusu/gists{/gist_id}","starred_url":"https://api.github.com/users/akiko-pusu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akiko-pusu/subscriptions","organizations_url":"https://api.github.com/users/akiko-pusu/orgs","repos_url":"https://api.github.com/users/akiko-pusu/repos","events_url":"https://api.github.com/users/akiko-pusu/events{/privacy}","received_events_url":"https://api.github.com/users/akiko-pusu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/akiko-pusu/redmine_issue_templates","description":"Repository for Redmine Issue Template (Ready to move Repository from Bitbucket to GitHub)","fork":false,"url":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates","forks_url":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/forks","keys_url":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/keys{/key_id}","collaborators_url":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/teams","hooks_url":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/hooks","issue_events_url":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/issues/events{/number}","events_url":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/events","assignees_url":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/assignees{/user}","branches_url":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/branches{/branch}","tags_url":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/tags","blobs_url":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/git/refs{/sha}","trees_url":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/git/trees{/sha}","statuses_url":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/statuses/{sha}","languages_url":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/languages","stargazers_url":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/stargazers","contributors_url":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/contributors","subscribers_url":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/subscribers","subscription_url":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/subscription","commits_url":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/commits{/sha}","git_commits_url":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/git/commits{/sha}","comments_url":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/comments{/number}","issue_comment_url":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/issues/comments{/number}","contents_url":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/contents/{+path}","compare_url":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/compare/{base}...{head}","merges_url":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/merges","archive_url":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/downloads","issues_url":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/issues{/number}","pulls_url":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/pulls{/number}","milestones_url":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/milestones{/number}","notifications_url":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/labels{/name}","releases_url":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/releases{/id}","deployments_url":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/deployments","created_at":"2016-05-15T00:34:50Z","updated_at":"2016-05-15T23:07:36Z","pushed_at":"2016-05-31T21:31:52Z","git_url":"git://github.com/akiko-pusu/redmine_issue_templates.git","ssh_url":"git@github.com:akiko-pusu/redmine_issue_templates.git","clone_url":"https://github.com/akiko-pusu/redmine_issue_templates.git","svn_url":"https://github.com/akiko-pusu/redmine_issue_templates","homepage":null,"size":377,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":1,"default_branch":"master"}},"base":{"label":"akiko-pusu:develop","ref":"develop","sha":"a9bbf41fc0d6701e2ea5d6ed6c141960ca1a2c7b","user":{"login":"akiko-pusu","id":122621,"avatar_url":"https://avatars.githubusercontent.com/u/122621?v=3","gravatar_id":"","url":"https://api.github.com/users/akiko-pusu","html_url":"https://github.com/akiko-pusu","followers_url":"https://api.github.com/users/akiko-pusu/followers","following_url":"https://api.github.com/users/akiko-pusu/following{/other_user}","gists_url":"https://api.github.com/users/akiko-pusu/gists{/gist_id}","starred_url":"https://api.github.com/users/akiko-pusu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akiko-pusu/subscriptions","organizations_url":"https://api.github.com/users/akiko-pusu/orgs","repos_url":"https://api.github.com/users/akiko-pusu/repos","events_url":"https://api.github.com/users/akiko-pusu/events{/privacy}","received_events_url":"https://api.github.com/users/akiko-pusu/received_events","type":"User","site_admin":false},"repo":{"id":58836786,"name":"redmine_issue_templates","full_name":"akiko-pusu/redmine_issue_templates","owner":{"login":"akiko-pusu","id":122621,"avatar_url":"https://avatars.githubusercontent.com/u/122621?v=3","gravatar_id":"","url":"https://api.github.com/users/akiko-pusu","html_url":"https://github.com/akiko-pusu","followers_url":"https://api.github.com/users/akiko-pusu/followers","following_url":"https://api.github.com/users/akiko-pusu/following{/other_user}","gists_url":"https://api.github.com/users/akiko-pusu/gists{/gist_id}","starred_url":"https://api.github.com/users/akiko-pusu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akiko-pusu/subscriptions","organizations_url":"https://api.github.com/users/akiko-pusu/orgs","repos_url":"https://api.github.com/users/akiko-pusu/repos","events_url":"https://api.github.com/users/akiko-pusu/events{/privacy}","received_events_url":"https://api.github.com/users/akiko-pusu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/akiko-pusu/redmine_issue_templates","description":"Repository for Redmine Issue Template (Ready to move Repository from Bitbucket to GitHub)","fork":false,"url":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates","forks_url":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/forks","keys_url":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/keys{/key_id}","collaborators_url":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/teams","hooks_url":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/hooks","issue_events_url":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/issues/events{/number}","events_url":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/events","assignees_url":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/assignees{/user}","branches_url":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/branches{/branch}","tags_url":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/tags","blobs_url":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/git/refs{/sha}","trees_url":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/git/trees{/sha}","statuses_url":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/statuses/{sha}","languages_url":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/languages","stargazers_url":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/stargazers","contributors_url":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/contributors","subscribers_url":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/subscribers","subscription_url":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/subscription","commits_url":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/commits{/sha}","git_commits_url":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/git/commits{/sha}","comments_url":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/comments{/number}","issue_comment_url":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/issues/comments{/number}","contents_url":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/contents/{+path}","compare_url":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/compare/{base}...{head}","merges_url":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/merges","archive_url":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/downloads","issues_url":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/issues{/number}","pulls_url":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/pulls{/number}","milestones_url":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/milestones{/number}","notifications_url":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/labels{/name}","releases_url":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/releases{/id}","deployments_url":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/deployments","created_at":"2016-05-15T00:34:50Z","updated_at":"2016-05-15T23:07:36Z","pushed_at":"2016-05-31T21:31:52Z","git_url":"git://github.com/akiko-pusu/redmine_issue_templates.git","ssh_url":"git@github.com:akiko-pusu/redmine_issue_templates.git","clone_url":"https://github.com/akiko-pusu/redmine_issue_templates.git","svn_url":"https://github.com/akiko-pusu/redmine_issue_templates","homepage":null,"size":377,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/pulls/3"},"html":{"href":"https://github.com/akiko-pusu/redmine_issue_templates/pull/3"},"issue":{"href":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/issues/3"},"comments":{"href":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/akiko-pusu/redmine_issue_templates/statuses/6759c344fcda5064fb06239c095288883ebe57f3"}}}}
{"actor":{"display_login":"akiko-pusu"}}