liquid_feedback_frontend

changeset 742:b8b205e65c6d

Optical enhancements
author bsw
date Thu Jun 28 22:26:26 2012 +0200 (2012-06-28)
parents 6e4392a4ed9b
children 7a452bd3d0df
files app/main/index/register.lua
line diff
     1.1 --- a/app/main/index/register.lua	Thu Jun 28 22:24:54 2012 +0200
     1.2 +++ b/app/main/index/register.lua	Thu Jun 28 22:26:26 2012 +0200
     1.3 @@ -19,6 +19,24 @@
     1.4    content = function()
     1.5  
     1.6      if not code then
     1.7 +      ui.actions(function()
     1.8 +        ui.link{
     1.9 +          content = function()
    1.10 +              slot.put(_"One step back")
    1.11 +          end,
    1.12 +          module = "index",
    1.13 +          view = "register",
    1.14 +          params = {
    1.15 +          }
    1.16 +        }
    1.17 +        ui.link{
    1.18 +          content = function()
    1.19 +              slot.put(_"Cancel registration")
    1.20 +          end,
    1.21 +          module = "index",
    1.22 +          view = "index"
    1.23 +        }
    1.24 +      end)
    1.25        ui.title(_"Registration (step 1 of 3: Invite code)")
    1.26        ui.field.hidden{ name = "step", value = 1 }
    1.27        ui.tag{
    1.28 @@ -45,7 +63,6 @@
    1.29          ui.actions(function()
    1.30            ui.link{
    1.31              content = function()
    1.32 -                ui.image{ static = "icons/16/resultset_previous.png" }
    1.33                  slot.put(_"One step back")
    1.34              end,
    1.35              module = "index",
    1.36 @@ -53,6 +70,13 @@
    1.37              params = {
    1.38              }
    1.39            }
    1.40 +          ui.link{
    1.41 +            content = function()
    1.42 +                slot.put(_"Cancel registration")
    1.43 +            end,
    1.44 +            module = "index",
    1.45 +            view = "index"
    1.46 +          }
    1.47          end)
    1.48  
    1.49          ui.tag{
    1.50 @@ -102,7 +126,6 @@
    1.51          ui.actions(function()
    1.52            ui.link{
    1.53              content = function()
    1.54 -                ui.image{ static = "icons/16/resultset_previous.png" }
    1.55                  slot.put(_"One step back")
    1.56              end,
    1.57              module = "index",
    1.58 @@ -115,6 +138,13 @@
    1.59                step = 1
    1.60              }
    1.61            }
    1.62 +          ui.link{
    1.63 +            content = function()
    1.64 +                slot.put(_"Cancel registration")
    1.65 +            end,
    1.66 +            module = "index",
    1.67 +            view = "index"
    1.68 +          }
    1.69          end)
    1.70          ui.container{
    1.71            attr = { class = "wiki use_terms" },
    1.72 @@ -182,17 +212,6 @@
    1.73          ui.submit{
    1.74            text = _'Create account'
    1.75          }
    1.76 -
    1.77 -        ui.actions(function()
    1.78 -          ui.link{
    1.79 -            content = function()
    1.80 -                ui.image{ static = "icons/16/cancel.png" }
    1.81 -                slot.put(_"Cancel registration")
    1.82 -            end,
    1.83 -            module = "index",
    1.84 -            view = "index"
    1.85 -          }
    1.86 -        end)
    1.87    end
    1.88  }
    1.89  

Impressum / About Us