# HG changeset patch # User bsw # Date 1340647593 -7200 # Node ID 285d1ca156ba6de5d7ce7297368682225d7f7d59 # Parent e405255faa6a32d2121a5e4263d1fedd50050da5 Improved initiative (not) admitted box optically diff -r e405255faa6a -r 285d1ca156ba app/main/initiative/_show.lua --- a/app/main/initiative/_show.lua Mon Jun 25 19:59:37 2012 +0200 +++ b/app/main/initiative/_show.lua Mon Jun 25 20:06:33 2012 +0200 @@ -127,13 +127,6 @@ end } -end } - - -util.help("initiative.show") - ---slot.select("initiative_head", function() - if initiative.issue.ranks_available and initiative.admitted then local class = initiative.winner and "admitted_info" or "not_admitted_info" ui.container{ @@ -196,7 +189,10 @@ } end ---end) +end } + +util.help("initiative.show") + if initiator and initiator.accepted == nil and not initiative.issue.half_frozen and not initiative.issue.closed then ui.container{ diff -r e405255faa6a -r 285d1ca156ba static/style.css --- a/static/style.css Mon Jun 25 19:59:37 2012 +0200 +++ b/static/style.css Mon Jun 25 20:06:33 2012 +0200 @@ -1145,16 +1145,17 @@ } .admitted_info { - background-color: #dfd; + background-color: #afc; padding: 1ex; - border-radius: 8px; + border-radius: 0 0 8px 8px; } .not_admitted_info, .revoked_info { - background-color: #fdd; + background-color: #fbb; padding: 1ex; border-radius: 8px; + border-radius: 0 0 8px 8px; } .draft_updated_info,