Revision 826:cb27dd527bd3
| public/themes/soundsoftware/stylesheets/application.css | ||
|---|---|---|
| 110 | 110 |
#header h1 { color: #525a38; margin-top: 25px; font-size: 3em; font-weight: normal; margin-left: 10px; }
|
| 111 | 111 |
#header #project-title a, #header #project-title a:hover { color: #525a38; text-decoration: none; }
|
| 112 | 112 |
.header-general h1 {
|
| 113 |
background: url('soundsoftware-logo-title-only-transparent-beta.png') no-repeat 0 0;
|
|
| 113 |
background: url('soundsoftware-logo-code-title-only-transparent.png') no-repeat 0 0;
|
|
| 114 | 114 |
text-indent: -9999px; |
| 115 |
width: 500px;
|
|
| 115 |
width: 537px;
|
|
| 116 | 116 |
height: 34px; |
| 117 | 117 |
} |
| 118 | 118 |
|
| vendor/plugins/redmine_tags/assets/javascripts/tags_input.js | ||
|---|---|---|
| 86 | 86 |
addTagsList: function(tags_list) {
|
| 87 | 87 |
var tags = tags_list.split(',');
|
| 88 | 88 |
for (var i = 0; i < tags.length; i++) {
|
| 89 |
this.addTag(tags[i].strip()); |
|
| 89 |
this.addTag(tags[i].strip().stripTags().toLowerCase());
|
|
| 90 | 90 |
} |
| 91 | 91 |
}, |
| 92 | 92 |
|
| vendor/plugins/redmine_tags/lib/redmine_tags/patches/project_patch.rb | ||
|---|---|---|
| 65 | 65 |
options = {}
|
| 66 | 66 |
visible = ARCondition.new |
| 67 | 67 |
|
| 68 |
visible << ["#{Project.table_name}.is_public = \"1\""]
|
|
| 68 |
visible << ["#{Project.table_name}.is_public = '1'"]
|
|
| 69 | 69 |
|
| 70 | 70 |
if name_like |
| 71 | 71 |
visible << ["#{ActsAsTaggableOn::Tag.table_name}.name LIKE ?", "%#{name_like.downcase}%"]
|
| vendor/plugins/redmine_tags/lib/redmine_tags/patches/projects_controller_patch.rb | ||
|---|---|---|
| 10 | 10 |
skip_before_filter :authorize, :only => [:set_fieldset_status] |
| 11 | 11 |
skip_before_filter :find_project, :only => [:set_fieldset_status] |
| 12 | 12 |
before_filter :add_tags_to_project, :only => [:save, :update] |
| 13 |
# before_filter :filter_projects, :only => :index |
|
| 14 | 13 |
|
| 15 | 14 |
alias :index filtered_index |
| 16 | 15 |
end |
| 17 | 16 |
end |
| 18 | 17 |
|
| 19 | 18 |
module InstanceMethods |
| 20 |
|
|
| 21 |
|
|
| 22 |
|
|
| 19 |
|
|
| 23 | 20 |
def add_tags_to_project |
| 24 | 21 |
|
| 25 | 22 |
if params && params[:project] && !params[:project][:tag_list].nil? |
| 26 |
old_tags = @project.tag_list.to_s |
|
| 27 |
new_tags = params[:project][:tag_list].to_s |
|
| 23 |
old_tags = @project.tag_list.to_s.downcase
|
|
| 24 |
new_tags = params[:project][:tag_list].to_s.downcase
|
|
| 28 | 25 |
|
| 29 | 26 |
unless (old_tags == new_tags) |
| 30 |
@project.tag_list = new_tags
|
|
| 27 |
@project.tag_list = ActionController::Base.helpers.strip_tags(new_tags)
|
|
| 31 | 28 |
end |
| 32 | 29 |
end |
| 33 | 30 |
end |
Also available in: Unified diff