# HG changeset patch # User luisf # Date 1365680062 -3600 # Node ID b18f581b260a556e287a569974958a3df1fd7fd0 # Parent 94a6e3687c4541476964bc729f2fb65b838b350e Fixed the extra spacing between the tags input field and its label. diff -r 94a6e3687c45 -r b18f581b260a plugins/redmine_tags/app/views/projects/_filter_search_tags.html.erb --- a/plugins/redmine_tags/app/views/projects/_filter_search_tags.html.erb Wed Apr 10 18:13:16 2013 +0100 +++ b/plugins/redmine_tags/app/views/projects/_filter_search_tags.html.erb Thu Apr 11 12:34:22 2013 +0100 @@ -3,7 +3,9 @@
<%= l(:text_tags_info).html_safe %>

-
+ +
+ <%= stylesheet_link_tag 'jquery.tagit.css', :plugin => 'redmine_tags' %> <%= stylesheet_link_tag 'redmine_tags', :plugin => 'redmine_tags' %> <%= javascript_include_tag 'tag-it', :plugin => 'redmine_tags' %> @@ -20,7 +22,7 @@ }); }, }); -" %> +" -%> diff -r 94a6e3687c45 -r b18f581b260a plugins/redmine_tags/app/views/projects/_tags_form.html.erb --- a/plugins/redmine_tags/app/views/projects/_tags_form.html.erb Wed Apr 10 18:13:16 2013 +0100 +++ b/plugins/redmine_tags/app/views/projects/_tags_form.html.erb Thu Apr 11 12:34:22 2013 +0100 @@ -1,10 +1,9 @@ <%= labelled_fields_for :project, project do |f| -%>

<%= f.text_field :tag_list, :label => :tags, :size => 60, :class => 'hol' %> -
<%= l(:text_tags_info).html_safe %>

-
+
<%= stylesheet_link_tag 'jquery.tagit.css', :plugin => 'redmine_tags' %> <%= stylesheet_link_tag 'redmine_tags', :plugin => 'redmine_tags' %> <%= javascript_include_tag 'tag-it', :plugin => 'redmine_tags' %> diff -r 94a6e3687c45 -r b18f581b260a plugins/redmine_tags/app/views/projects/index.html.erb --- a/plugins/redmine_tags/app/views/projects/index.html.erb Wed Apr 10 18:13:16 2013 +0100 +++ b/plugins/redmine_tags/app/views/projects/index.html.erb Thu Apr 11 12:34:22 2013 +0100 @@ -16,27 +16,21 @@
- <%= form_tag :projects, :method => :get do -%> -
- <%= l(:label_filter_plural) %> +<%= form_tag :projects, :method => :get do -%> +
+
+ <%= render :partial => 'filter_search_tags' -%> +
-
-
- <%= render :partial => 'filter_search_tags' -%> -
+

+ <%= label_tag 'search', l('project_filtering_q_label') %> + <%= text_field_tag 'search', params[:search] -%> + <%= submit_tag :search, :name => nil %> +

-

- <%= label_tag 'search', l('project_filtering_q_label') %> - <%= text_field_tag 'search', params[:search] -%> - <%= submit_tag :search, :name => nil %> -

- -
- -
+
<%- end -%> -
<%= render :partial => 'filtered_projects' %>
diff -r 94a6e3687c45 -r b18f581b260a plugins/redmine_tags/assets/stylesheets/redmine_tags.css --- a/plugins/redmine_tags/assets/stylesheets/redmine_tags.css Wed Apr 10 18:13:16 2013 +0100 +++ b/plugins/redmine_tags/assets/stylesheets/redmine_tags.css Thu Apr 11 12:34:22 2013 +0100 @@ -56,6 +56,6 @@ table.projects th.tags { color: #3e442c; } dl.tags { margin-top: 1.5em; margin-left: 0; padding-bottom: 1em; overflow: hidden; margin-bottom: 1em; border-bottom: 1px dotted #bbbbbb; } -dt.tags-title { float: left; font-weight: bold; color: #3e442c; } +dt.tags-title { float: left; font-weight: bold; color: #3e442c; } dd.tags { margin-left: .5em; float: left; color: #3e442c; } - +