Changeset 719
- Timestamp:
- 11/06/07 15:28:34 (1 year ago)
- Files:
-
- trunk/app/controllers/task_controller.rb (modified) (1 diff)
- trunk/app/views/layouts/mainlevel.rhtml (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/app/controllers/task_controller.rb
r715 r719 13 13 class TaskController < ApplicationController 14 14 prepend_before_filter :login_required 15 15 skip_before_filter :check_new_service_requests, :only => :list_new_service_requests 16 16 LOCK_DURATION = 1.hour 17 17 trunk/app/views/layouts/mainlevel.rhtml
r718 r719 272 272 <%= link_to(_('There is a new service request'), :controller => 'task', :action => 'view', :id => @service_request_id) %> 273 273 </p> 274 <% elsif @service_request_count > 1 and controller.action_name != 'list_new_service_requests'-%>274 <% elsif @service_request_count > 1 -%> 275 275 <p id="service_request_count"> 276 276 <%= link_to(_('There are %i new service requests', @service_request_count), :controller => 'task', :action => 'list_new_service_requests') %>