GitHub PullRequestReviewCommentEvent at 2014-04-20 11:35:33
Repository: Coolsoft-14
Actor: MohabGhanim
Payload: {"comment":{"url":"https://api.github.com/repos/alaashafaee/Coolsoft-14/pulls/comments/11797598","id":11797598,"diff_hunk":"@@ -1,59 +0,0 @@\n-<%@title = @course.name + '#'+ @topic.title%>\n-<h1><%=@title%></h1>\n-<table align=\"center\">\n-\t<tr>\n-\t\t<td align=\"center\">Tracks</td>\n-\t\t<td align=\"center\">Problems</td>\n-\t</tr>\n-\t<tr>\n-\t\t<td>\n-\t\t\t<!-- List of all tracks of the selected topic\n-\t\t\t\tvisit /tracks/:id where id is the id of the topic\n-\t\t\t\tthat route I used until we decide on a correct route -->\n-\t\t\t<%=select(:Track , :id , \n-\t\t\t\t@tracks.collect{|t|[t.title , t.id]}, \n-\t\t\t\t{selected: @tracks.first ? @tracks.first.id : 0} , \n-\t\t\t\t:multiple => true , :style => \"width:250px;align='center'\" , \n-\t\t\t\t:onchange => \"getProblems(this.value)\" , \n-\t\t\t\t:size => 15 , :id => \"tracksSel\")%>\n-\t\t</td>\n-\n-\t\t<!-- Here will be the list of problems \n-\t\t\tof the track selected in the previous list -->\n-\t\t<td id=\"second\" align=\"center\">\n-\t\t\t<%=select(:Track , :id , {}, {} , \n-\t\t\t\t:multiple => true , :style => \"width:250px;align='center'\" , \n-\t\t\t\t:onchange => \"getProblems(this.value)\" , \n-\t\t\t\t:size => 15 , :id => \"problemsSel\")%>\n-\t\t</td>\n-\t</tr>\n-\t<tr>\n-\t\t<!-- Here is a buttons to create and edit problems \n-\t\t\tand tracks but for now\n-\t\t\tthe create button of tracks is the only button that works\n-\t\t\tother buttons only shows an alert -->\n-\t\t<td align=\"center\">\n-\t\t\t<button onclick=\"newTrack()\">New</button>\n-\t\t\t<button onclick=\"show('Course')\">Edit</button>\n-\t\t</td>\n-\t\t<td align=\"center\">\n-\t\t\t<button onclick=\"show('Problem')\">Edit</button>\n-\t\t\t<button onclick=\"alert('hello')\">New</button>\n-\t\t</td>\n-\t</tr>\n-</table>\n-<br>\n-\n-<!-- thats a form for creating a track which is intially hidden 7\n-\t\tuntil the new button clicked -->\n-<div align=\"center\" ><%=flash[:notice]%></div><br>\n-<div align=\"center\" id=\"create_track\" hidden=true>\n-\t<%= form_for :Track , url: {action: \"create\"}, \n-\thtml: {class: \"nifty_form\"} do |f| %>\n-\t\t\t\t<label>Title :</label>\n-\t\t\t\t<%= f.text_field :title %> <br>\n-\t\t\t\t<label>Difficulty :</label>\n-\t\t\t\t<%= f.number_field :difficulty %> <br>\n-\t\t\t\t<%= f.submit \"Create\" %> <br>\n-\t\t\t\t<%= f.hidden_field :topic_id , :value => params[:id]%>\n-\t\t\t\t<% end %></div>","path":"tutor/app/views/tracks/show.html.erb","position":59,"original_position":59,"commit_id":"40c3e070afbcd2161b2da3e374a98bb68ce1ec6c","original_commit_id":"40c3e070afbcd2161b2da3e374a98bb68ce1ec6c","user":{"login":"MohabGhanim","id":6728190,"avatar_url":"https://avatars.githubusercontent.com/u/6728190?","gravatar_id":"5bcbeb6ed9341bbfd976ee584c48ffc4","url":"https://api.github.com/users/MohabGhanim","html_url":"https://github.com/MohabGhanim","followers_url":"https://api.github.com/users/MohabGhanim/followers","following_url":"https://api.github.com/users/MohabGhanim/following{/other_user}","gists_url":"https://api.github.com/users/MohabGhanim/gists{/gist_id}","starred_url":"https://api.github.com/users/MohabGhanim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MohabGhanim/subscriptions","organizations_url":"https://api.github.com/users/MohabGhanim/orgs","repos_url":"https://api.github.com/users/MohabGhanim/repos","events_url":"https://api.github.com/users/MohabGhanim/events{/privacy}","received_events_url":"https://api.github.com/users/MohabGhanim/received_events","type":"User","site_admin":false},"body":"@Husseny This file and the above one were not originally in my pull request, they came from a mistakenly done commit by Lin in my branch, so I deleted them to return my branch to its original state.","created_at":"2014-04-20T11:35:33Z","updated_at":"2014-04-20T11:35:33Z","html_url":"https://github.com/alaashafaee/Coolsoft-14/pull/246#discussion_r11797598","pull_request_url":"https://api.github.com/repos/alaashafaee/Coolsoft-14/pulls/246","_links":{"self":{"href":"https://api.github.com/repos/alaashafaee/Coolsoft-14/pulls/comments/11797598"},"html":{"href":"https://github.com/alaashafaee/Coolsoft-14/pull/246#discussion_r11797598"},"pull_request":{"href":"https://api.github.com/repos/alaashafaee/Coolsoft-14/pulls/246"}}}}