# HG changeset patch # User Chris Cannam # Date 1295451299 0 # Node ID bf38a7365edfa6d3634c11223558e36bdb429d9e # Parent cede720e8f534fd88cb89c1fecea7166a8f615fe# Parent 6a2f8e88344ebf1e36bec0534350af0ed440e182 Merge fixes for bug #51 and bug #35 from branch "cannam-pre-20110113-merge" diff -r 6a2f8e88344e -r bf38a7365edf app/controllers/issues_controller.rb --- a/app/controllers/issues_controller.rb Wed Jan 19 13:27:01 2011 +0000 +++ b/app/controllers/issues_controller.rb Wed Jan 19 15:34:59 2011 +0000 @@ -136,14 +136,14 @@ call_hook(:controller_issues_new_after_save, { :params => params, :issue => @issue}) # Adds user to watcher's list - @issue.add_watcher(User.current) + # @issue.add_watcher(User.current) # Also adds the assignee to the watcher's list - if params[:issue][:assigned_to_id] && !params[:issue][:assigned_to_id].empty?: - unless @issue.watcher_ids.include?(params[:issue][:assigned_to_id]): - @issue.add_watcher(User.find(params[:issue][:assigned_to_id])) - end - end + # if params[:issue][:assigned_to_id] && !params[:issue][:assigned_to_id].empty?: + # unless @issue.watcher_ids.include?(params[:issue][:assigned_to_id]): + # @issue.add_watcher(User.find(params[:issue][:assigned_to_id])) + # end + # end respond_to do |format| format.html { @@ -291,11 +291,11 @@ # is in this issues watcher's list # if not, adds it. - if params[:issue][:assigned_to_id] && !params[:issue][:assigned_to_id].empty?: - unless @issue.watcher_ids.include?(params[:issue][:assigned_to_id]): - @issue.add_watcher(User.find(params[:issue][:assigned_to_id])) - end - end + # if params[:issue][:assigned_to_id] && !params[:issue][:assigned_to_id].empty?: + # unless @issue.watcher_ids.include?(params[:issue][:assigned_to_id]): + # @issue.add_watcher(User.find(params[:issue][:assigned_to_id])) + # end + # end end diff -r 6a2f8e88344e -r bf38a7365edf app/models/issue.rb --- a/app/models/issue.rb Wed Jan 19 13:27:01 2011 +0000 +++ b/app/models/issue.rb Wed Jan 19 15:34:59 2011 +0000 @@ -527,7 +527,8 @@ # Returns a string of css classes that apply to the issue def css_classes - s = "issue status-#{status.position} priority-#{priority.position}" + s = "issue status-#{status.position} " + s << "priority-#{priority.position}" s << ' closed' if closed? s << ' overdue' if overdue? s << ' created-by-me' if User.current.logged? && author_id == User.current.id diff -r 6a2f8e88344e -r bf38a7365edf app/views/welcome/index.rhtml --- a/app/views/welcome/index.rhtml Wed Jan 19 13:27:01 2011 +0000 +++ b/app/views/welcome/index.rhtml Wed Jan 19 15:34:59 2011 +0000 @@ -9,14 +9,6 @@
<%= textilizable Setting.welcome_text %> - <% if not @tipsoftheday.empty? %> -
-

<%=l(:label_tipoftheday)%>

- <%= textilizable @tipsoftheday %> -
- <% end %> - - <% if @news.any? %>

<%=l(:label_news_latest)%>

@@ -28,6 +20,13 @@
+ <% if not @tipsoftheday.empty? %> +
+

<%=l(:label_tipoftheday)%>

+ <%= textilizable @tipsoftheday %> +
+ <% end %> + <% if @projects.any? %>

<%=l(:label_project_latest)%>

diff -r 6a2f8e88344e -r bf38a7365edf public/themes/soundsoftware/stylesheets/application.css --- a/public/themes/soundsoftware/stylesheets/application.css Wed Jan 19 13:27:01 2011 +0000 +++ b/public/themes/soundsoftware/stylesheets/application.css Wed Jan 19 15:34:59 2011 +0000 @@ -85,9 +85,9 @@ #header a { color: #be5700; } #header h1 { color: #525a38; margin-top: 25px; font-size: 3em; font-weight: normal; margin-left: 10px; } .header-general h1 { - background: url('soundsoftware-logo-title-only-transparent.png') no-repeat 0 0; + background: url('soundsoftware-logo-title-only-transparent-beta.png') no-repeat 0 0; text-indent: -9999px; - width: 446px; + width: 500px; height: 34px; } #quick-search { margin-right: 6px; margin-top: 1em; color: #000; } diff -r 6a2f8e88344e -r bf38a7365edf public/themes/soundsoftware/stylesheets/soundsoftware-logo-title-only-transparent-beta.png Binary file public/themes/soundsoftware/stylesheets/soundsoftware-logo-title-only-transparent-beta.png has changed diff -r 6a2f8e88344e -r bf38a7365edf vendor/plugins/redmine_checkout/config/locales/en-GB.yml --- a/vendor/plugins/redmine_checkout/config/locales/en-GB.yml Wed Jan 19 13:27:01 2011 +0000 +++ b/vendor/plugins/redmine_checkout/config/locales/en-GB.yml Wed Jan 19 15:34:59 2011 +0000 @@ -1,4 +1,4 @@ -en: +en-GB: label_checkout: "Checkout" setting_checkout_display_checkout_info: "Display checkout information"