Sha256: 6cb3cf0ce35759990ef7bc7b070fcd367eff37d70baec265cbf11448d5690b19

Contents?: true

Size: 391 Bytes

Versions: 3

Compression:

Stored size: 391 Bytes

Contents

- @activities = resource.activities.where(:date => current_month_period(:by_period)).by_project_id(params[:by_project_id])
- if @activities.empty?
  = boot_no_entry_alert
  .activities.collection

- else
  = render 'activities/list', :collection => @activities unless @activities.empty?

.form-actions
  = icon_link_to :new, new_person_activity_path(resource)

= render 'activities/sidebar'

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
bookyt_projects-1.1.2 app/views/people/_show_activities.html.haml
bookyt_projects-1.1.1 app/views/people/_show_activities.html.haml
bookyt_projects-1.1.0 app/views/people/_show_activities.html.haml