# HG changeset patch # User bsw # Date 1340915186 -7200 # Node ID b8b205e65c6db7590740c939854f86c5280eb406 # Parent 6e4392a4ed9b1af3b4b65bfc70dcdeb877bfd1ac Optical enhancements diff -r 6e4392a4ed9b -r b8b205e65c6d app/main/index/register.lua --- a/app/main/index/register.lua Thu Jun 28 22:24:54 2012 +0200 +++ b/app/main/index/register.lua Thu Jun 28 22:26:26 2012 +0200 @@ -19,6 +19,24 @@ content = function() if not code then + ui.actions(function() + ui.link{ + content = function() + slot.put(_"One step back") + end, + module = "index", + view = "register", + params = { + } + } + ui.link{ + content = function() + slot.put(_"Cancel registration") + end, + module = "index", + view = "index" + } + end) ui.title(_"Registration (step 1 of 3: Invite code)") ui.field.hidden{ name = "step", value = 1 } ui.tag{ @@ -45,7 +63,6 @@ ui.actions(function() ui.link{ content = function() - ui.image{ static = "icons/16/resultset_previous.png" } slot.put(_"One step back") end, module = "index", @@ -53,6 +70,13 @@ params = { } } + ui.link{ + content = function() + slot.put(_"Cancel registration") + end, + module = "index", + view = "index" + } end) ui.tag{ @@ -102,7 +126,6 @@ ui.actions(function() ui.link{ content = function() - ui.image{ static = "icons/16/resultset_previous.png" } slot.put(_"One step back") end, module = "index", @@ -115,6 +138,13 @@ step = 1 } } + ui.link{ + content = function() + slot.put(_"Cancel registration") + end, + module = "index", + view = "index" + } end) ui.container{ attr = { class = "wiki use_terms" }, @@ -182,17 +212,6 @@ ui.submit{ text = _'Create account' } - - ui.actions(function() - ui.link{ - content = function() - ui.image{ static = "icons/16/cancel.png" } - slot.put(_"Cancel registration") - end, - module = "index", - view = "index" - } - end) end }