liquid_feedback_frontend

diff app/main/initiative/_show.lua @ 273:7196685f9dd7

More optical enhancements, more repositioning
author bsw
date Wed Feb 08 18:49:22 2012 +0100 (2012-02-08)
parents 65a1f7a01e7b
children aec9df5b4cd3
line diff
     1.1 --- a/app/main/initiative/_show.lua	Wed Feb 08 00:55:17 2012 +0100
     1.2 +++ b/app/main/initiative/_show.lua	Wed Feb 08 18:49:22 2012 +0100
     1.3 @@ -274,52 +274,6 @@
     1.4    }
     1.5  end
     1.6  
     1.7 -if (initiative.discussion_url and #initiative.discussion_url > 0)
     1.8 -  or (initiator and initiator.accepted and not initiative.issue.half_frozen and not initiative.issue.closed and not initiative.revoked) then
     1.9 -  ui.container{
    1.10 -    attr = { class = "vertical" },
    1.11 -    content = function()
    1.12 -      ui.container{
    1.13 -        attr = { class = "ui_field_label" },
    1.14 -        content = _"Discussion with initiators"
    1.15 -      }
    1.16 -      ui.tag{
    1.17 -        tag = "span",
    1.18 -        content = function()
    1.19 -          if initiative.discussion_url:find("^https?://") then
    1.20 -            if initiative.discussion_url and #initiative.discussion_url > 0 then
    1.21 -              ui.link{
    1.22 -                attr = {
    1.23 -                  class = "actions",
    1.24 -                  target = "_blank",
    1.25 -                  title = initiative.discussion_url
    1.26 -                },
    1.27 -                content = function()
    1.28 -                  slot.put(encode.html(initiative.discussion_url))
    1.29 -                end,
    1.30 -                external = initiative.discussion_url
    1.31 -              }
    1.32 -            end
    1.33 -          else
    1.34 -            slot.put(encode.html(initiative.discussion_url))
    1.35 -          end
    1.36 -          slot.put(" ")
    1.37 -          if initiator and initiator.accepted and not initiative.issue.half_frozen and not initiative.issue.closed and not initiative.revoked then
    1.38 -            ui.link{
    1.39 -              attr   = { class = "actions" },
    1.40 -              text   = _"(change URL)",
    1.41 -              module = "initiative",
    1.42 -              view   = "edit",
    1.43 -              id     = initiative.id
    1.44 -            }
    1.45 -          end
    1.46 -        end
    1.47 -      }
    1.48 -    end
    1.49 -  }
    1.50 -end
    1.51 -
    1.52 -
    1.53  
    1.54  execute.view{
    1.55    module = "initiative",

Impressum / About Us