Changeset 719

Show
Ignore:
Timestamp:
11/06/07 15:28:34 (1 year ago)
Author:
markku
Message:

These should have been in [718]

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/app/controllers/task_controller.rb

    r715 r719  
    1313class TaskController < ApplicationController 
    1414  prepend_before_filter :login_required 
    15  
     15  skip_before_filter :check_new_service_requests, :only => :list_new_service_requests 
    1616  LOCK_DURATION = 1.hour 
    1717 
  • trunk/app/views/layouts/mainlevel.rhtml

    r718 r719  
    272272            <%= link_to(_('There is a new service request'), :controller => 'task', :action => 'view', :id => @service_request_id) %> 
    273273          </p> 
    274         <% elsif @service_request_count > 1 and controller.action_name != 'list_new_service_requests' -%> 
     274        <% elsif @service_request_count > 1 -%> 
    275275          <p id="service_request_count"> 
    276276            <%= link_to(_('There are %i new service requests', @service_request_count), :controller => 'task', :action => 'list_new_service_requests') %> 

© 2004-2007 Norfello Oy All Rights Reserved