liquid_feedback_frontend
diff app/main/draft/show.lua @ 951:99852ec8ee37
Put actions to the correct slot
author | bsw |
---|---|
date | Sat Dec 01 23:50:18 2012 +0100 (2012-12-01) |
parents | cc7650c7053f |
children | 701a5cf6b067 |
line diff
1.1 --- a/app/main/draft/show.lua Thu Nov 08 20:59:50 2012 +0100 1.2 +++ b/app/main/draft/show.lua Sat Dec 01 23:50:18 2012 +0100 1.3 @@ -10,7 +10,7 @@ 1.4 slot.put_into("title", " · " .. _"History") 1.5 1.6 if source then 1.7 - slot.select("actions", function() 1.8 + ui.actions(function() 1.9 ui.link{ 1.10 content = _"Rendered", 1.11 module = "draft", 1.12 @@ -21,7 +21,7 @@ 1.13 end 1.14 ) 1.15 else 1.16 - slot.select("actions", function() 1.17 + ui.actions(function() 1.18 ui.link{ 1.19 content = _"Source", 1.20 module = "draft", 1.21 @@ -37,4 +37,4 @@ 1.22 module = "draft", 1.23 view = "_show", 1.24 params = { draft = draft, source = source } 1.25 -} 1.26 \ No newline at end of file 1.27 +}