Sha256: 027a0c2909400aabe3e968d77e391b039b8fe66a97e7df4b4ce9400ce0fc9a9d
Contents?: true
Size: 1.51 KB
Versions: 6
Compression:
Stored size: 1.51 KB
Contents
= styles_for :task, :opportunity, :account .title %span#title #{t :my_tasks} %ul.list#tasks - unless @my_tasks.empty? = render :partial => "home/task", :collection => @my_tasks.limit(10) = show_hidden_entities_message(@my_tasks.count, 'task', 10) - else #{t :no_task_records} .title %span#title #{t :my_opportunities} %ul.list#opportunities - unless @my_opportunities.empty? = render :partial => "home/opportunity", :collection => @my_opportunities.limit(10) = show_hidden_entities_message(@my_opportunities.count, 'opportunity', 10) - else #{t :no_opportunity_records} .title %span#title #{t :my_accounts} %ul.list#accounts - unless @my_accounts.empty? = render :partial => "home/account", :collection => @my_accounts.limit(10) = show_hidden_entities_message(@my_accounts.count, 'account', 10) - else #{t :no_account_records} .title_tools = link_to_inline(:options, url_for(:action => :options), :text => t(:options)) .title %span#title #{t :recent_activity} = image_tag("loading.gif", :size => :thumb, :id => "loading", :style => "display: none;") .remote#options{ hidden } %ul.list#activities - unless @activities.empty? = render :partial => "activity", :collection => @activities - else #{t :no_activity_records} #export= render "shared/export" / Check out HTML source to view the output of the hook if you have sample plugin installed http://github.com/michaeldv/crm_sample_plugin/tree/master = hook(:home_view, self, :hello => "world!", :welcome => "home")
Version data entries
6 entries across 6 versions & 1 rubygems