aboutsummaryrefslogtreecommitdiff
path: root/overview.rb
diff options
context:
space:
mode:
authorBenjamin Kellermann <Benjamin.Kellermann@gmx.de>2011-05-17 16:12:15 +0200
committerBenjamin Kellermann <Benjamin.Kellermann@gmx.de>2011-05-17 16:12:15 +0200
commitb05e4d1452b5f8da1e384f29717ba65c3e06de29 (patch)
tree5b0a9801cb499398c6f3661b4de4af3a2ae89fb2 /overview.rb
parent1240edb326a12c88150e2aca23af6c1017d4c49b (diff)
string/usability updates (thanks to the usability testers)
Diffstat (limited to 'overview.rb')
-rwxr-xr-xoverview.rb25
1 files changed, 16 insertions, 9 deletions
diff --git a/overview.rb b/overview.rb
index 0556732..16cd6bd 100755
--- a/overview.rb
+++ b/overview.rb
@@ -28,20 +28,27 @@ $d = Dudle.new
$d.wizzard_redirect
-$d << _("The link to your poll is:")
+$d << _("The next steps are:")
mailstr = _("Send this link via email...")
-nextstr = _("To the Vote interface")
+nextstr = _("Visit the poll yourself:")
subjectstr = _("Link to dudle poll about %{polltitle}") % {:polltitle => $d.title}
$d << <<END
-<pre id="humanReadableURL">#{$conf.siteurl}</pre>
-<a id="mailtoURL" href='mailto:?subject=#{CGI.escapeHTML(CGI.escape(subjectstr).gsub("+","%20"))}&amp;body=#{$conf.siteurl}'>#{mailstr}</a>
-<form id='clickURL' method='get' action='.'>
- <div style='margin-top:1ex'>
- <input type='submit' value='#{nextstr}' />
- </div>
-</form>
+<ol>
+ <li>
+ Send the link to all participants:
+ <ul>
+ <li><input id="humanReadableURL" value="#{$conf.siteurl}" type="text" size="80" readonly="readonly"></li>
+ <li><a id="mailtoURL" href='mailto:?subject=#{CGI.escapeHTML(CGI.escape(subjectstr).gsub("+","%20"))}&amp;body=#{$conf.siteurl}'>#{mailstr}</a></li>
+ </ul>
+ </li>
+ <li>
+ #{nextstr}
+ <ul>
+ <li><a href="#{$conf.siteurl}">#{$conf.siteurl}</a></li>
+ </ul>
+ </ol>
END
$d.out