Sha256: 1f5761717de7d010192f3d8d4e8aeb6153d7090a67c8a30880688de349ca6f34

Contents?: true

Size: 344 Bytes

Versions: 3

Compression:

Stored size: 344 Bytes

Contents

- @activities = resource.activities.where(:date => current_month_period(:by_period))
- if @activities.empty?
  = boot_alert(t('activities.alerts.empty'))
  .activities.collection

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

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
bookyt_projects-1.0.1 app/views/projects/_show_activities.html.haml
bookyt_projects-1.0.0 app/views/projects/_show_activities.html.haml
bookyt_projects-0.21.0 app/views/projects/_show_activities.html.haml