liquid_feedback_frontend
diff app/main/member/_profile.lua @ 273:7196685f9dd7
More optical enhancements, more repositioning
author | bsw |
---|---|
date | Wed Feb 08 18:49:22 2012 +0100 (2012-02-08) |
parents | d13b27a37ad5 |
children | 23c98752e697 |
line diff
1.1 --- a/app/main/member/_profile.lua Wed Feb 08 00:55:17 2012 +0100 1.2 +++ b/app/main/member/_profile.lua Wed Feb 08 18:49:22 2012 +0100 1.3 @@ -7,6 +7,41 @@ 1.4 end 1.5 end 1.6 1.7 +--slot.select("actions", function() 1.8 + 1.9 + if app.session.member and app.session.member_id == member.id then 1.10 + ui.link{ 1.11 + attr = { class = "actions" }, 1.12 + content = function() 1.13 + ui.image{ static = "icons/16/application_form.png" } 1.14 + slot.put(_"Edit my profile") 1.15 + end, 1.16 + module = "member", 1.17 + view = "edit" 1.18 + } 1.19 + ui.link{ 1.20 + attr = { class = "actions" }, 1.21 + content = function() 1.22 + ui.image{ static = "icons/16/user_gray.png" } 1.23 + slot.put(_"Upload images") 1.24 + end, 1.25 + module = "member", 1.26 + view = "edit_images" 1.27 + } 1.28 + if config.download_dir then 1.29 + ui.link{ 1.30 + attr = { class = "actions" }, 1.31 + content = function() 1.32 + ui.image{ static = "icons/16/database_save.png" } 1.33 + slot.put(_"Download") 1.34 + end, 1.35 + module = "index", 1.36 + view = "download" 1.37 + } 1.38 + end 1.39 + slot.put("<br /><br />") 1.40 + end 1.41 +--end) 1.42 1.43 ui.form{ 1.44 attr = { class = "member vertical" },