diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 83a4dfd19..2c689e277 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -1354,7 +1354,7 @@ module ApplicationHelper #added by nie # Display watcher picture def show_more_watchers?(obj) - if User.watched_by(obj.id).count > 12 + if User.watched_by(obj.id).count > 6 return true else return false diff --git a/app/views/bids/_new.html.erb b/app/views/bids/_new.html.erb index d57a26d72..5250a361d 100644 --- a/app/views/bids/_new.html.erb +++ b/app/views/bids/_new.html.erb @@ -75,8 +75,8 @@ <%= f.text_field :reference_user_id, :style=>"display:none"%>
<%= submit_tag l(:button_leave_meassge), :name => nil , :class => "bid_btn", :onmouseout => "this.style.backgroundPosition = 'left top'", :onmouseover => "this.style.backgroundPosition = 'left -31px'"%> - <%= submit_tag l(:button_clear_requirement), :name => nil, :onclick => "clearMessage('bid_message_message');", :type => 'button', :class => "bid_btn", :onmouseout => "this.style.backgroundPosition = 'left top'", :onmouseover => "this.style.backgroundPosition = 'left -31px'" %> | +<%= submit_tag l(:button_leave_meassge), :name => nil , :class => "enterprise" %> + <%= submit_tag l(:button_clear_requirement), :name => nil, :onclick => "clearMessage('bid_message_message');", :type => 'button', :class => "btn_bid" %> |
- <% if @bid.watcher_users.size>0 %>
+ <% if @bid.watcher_users.size>0 && @bid.watcher_users.count<13%>
<% for user in @bid.watcher_users%>
<%= link_to image_tag(url_to_avatar(user), :class => "avatar", :title => user.name ), user_path(user), :class => "avatar" %>
<% end %>
@@ -132,11 +132,11 @@
<%=l(:label_course_new)%>
<%= render :partial => 'course_form', :locals => { :f => f } %>
- <%= submit_tag l(:button_create) %>
+ <%= submit_tag l(:button_create), :class => "enterprise"%>
<% else %>
<%=l(:label_project_new)%>
<%= render :partial => 'form', :locals => { :f => f } %>
- <%= submit_tag l(:button_create)%>
+ <%= submit_tag l(:button_create), :class => "enterprise"%>
<% end %>
<%= javascript_tag "$('#project_name').focus();" %>
diff --git a/app/views/projects/new_homework.html.erb b/app/views/projects/new_homework.html.erb
index 3737a6509..e1fd553b0 100644
--- a/app/views/projects/new_homework.html.erb
+++ b/app/views/projects/new_homework.html.erb
@@ -3,7 +3,7 @@
<%= labelled_form_for @homework, :url => {:controller => 'bids', :action => 'create_homework'} do |f| %>
<%= render :partial => 'homework_form', :locals => { :f => f } %>
- <%= submit_tag l(:button_create) %>
+ <%= submit_tag l(:button_create), :class => "enterprise" %>
<%= javascript_tag "$('#bid_name').focus();" %>
<% end %>
\ No newline at end of file
diff --git a/tmp/plugins/README b/tmp/plugins/README
new file mode 100644
index 000000000..edef25679
--- /dev/null
+++ b/tmp/plugins/README
@@ -0,0 +1 @@
+Put your Redmine plugins here.
|