Skip to content

Commit

Permalink
References #11 - Added tooltip help to the controls for votes, editin…
Browse files Browse the repository at this point in the history
…g, and displaying a thought full-screen.
  • Loading branch information
jefflunt committed Jun 4, 2012
1 parent 9742567 commit 5f1fb6b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion app/views/thoughts/_controls_overlay.haml
@@ -1,2 +1,2 @@
.thought-controls
/ %span.size-big=link_to("\u270e", edit_thought_path(thought), {:remote => true})
/ %span.size-big=link_to("\u270e", edit_thought_path(thought), {:remote => true, title: "Edit this thought"})
4 changes: 2 additions & 2 deletions app/views/thoughts/_controls_standard.haml
@@ -1,3 +1,3 @@
.thought-controls
=link_to("\u270e", edit_thought_path(thought), {:remote => true})
=link_to("\u25ff", thought, remote: true)
=link_to("\u270e", edit_thought_path(thought), {remote: true, title: "Edit this thought"})
=link_to("\u25ff", thought, {remote: true, title: "Display full screen"})
4 changes: 2 additions & 2 deletions app/views/thoughts/_votes_overlay.haml
@@ -1,4 +1,4 @@
.thought-votes
%span.size-big=link_to("-", thought_path(thought, :vote => "down"), {:method => :put, :remote => true})
%span.size-big=link_to("+", thought_path(thought, :vote => "up"), {:method => :put, :remote => true})
%span.size-big=link_to("-", thought_path(thought, :vote => "down"), {method: :put, remote: true, title: "Down vote"})
%span.size-big=link_to("+", thought_path(thought, :vote => "up"), {method: :put, remote: true, title: "Up vote"})
%span.size-big=thought.score
4 changes: 2 additions & 2 deletions app/views/thoughts/_votes_standard.haml
@@ -1,4 +1,4 @@
.thought-votes
=link_to("-", thought_path(thought, :vote => "down"), {:method => :put, :remote => true})
=link_to("+", thought_path(thought, :vote => "up"), {:method => :put, :remote => true})
=link_to("-", thought_path(thought, :vote => "down"), {method: :put, remote: true, title: "Down vote"})
=link_to("+", thought_path(thought, :vote => "up"), {method: :put, remote: true, title: "Up vote"})
=thought.score

0 comments on commit 5f1fb6b

Please sign in to comment.