forked from akiko-pusu/redmine_banner
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
manners now working correctly in my redmine, still lots of open todos…
… like removal of prototype and drying this up
- Loading branch information
steffen.jurrack
committed
Sep 14, 2012
1 parent
2be63d4
commit 324af30
Showing
7 changed files
with
35 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
source 'https://rubygems.org' | ||
|
||
gem 'haml-rails' | ||
gem 'haml-rails' | ||
|
||
group :development do | ||
gem "debugger" | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,2 @@ | ||
= render :partial=>'banner/body_bottom' | ||
:javascript | ||
document.observe("dom:loaded", function() { | ||
new Insertion.After($('header'), $('.banner_area')); | ||
}); | ||
jQuery(document).ready(function(){$('#top-menu').after("#{escape_javascript(render(:partial=>'banner/body_bottom'))}");}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
.project_banner_area.banner_area | ||
.banner_content{:class=>"banner banner_#{banner.style}"} | ||
=textilizable banner.banner_description | ||
-if authorize_for(:banner, :edit) | ||
.banner_edit | ||
= link_to(l(:button_edit), | ||
{:controller => 'projects', :action => "settings", :id => @project, :tab => 'banner'}, | ||
{:class => 'icon banner-icon-edit', :title => l(:button_edit)}) | ||
%a.icon.banner-icon-off{:href=>"#", :title=>"#{l(:banner_off)}", :onclick=>"banner_off();"}= l(:button_off) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters