[ckan-changes] [okfn/ckan] f14ea0: Tidy up activity streams templates

GitHub noreply at github.com
Thu Feb 2 20:06:32 UTC 2012


  Branch: refs/heads/feature-1515-activity-streams
  Home:   https://github.com/okfn/ckan
  Commit: f14ea0f344ff224fbe0398599189d56fc97139f7
      https://github.com/okfn/ckan/commit/f14ea0f344ff224fbe0398599189d56fc97139f7
  Author: Sean Hammond <seanhammond at lavabit.com>
  Date:   2012-02-02 (Thu, 02 Feb 2012)

  Changed paths:
    M ckan/lib/helpers.py
  M ckan/templates/_util.html
  M ckan/templates/activity_streams/added_tag.html
  M ckan/templates/activity_streams/changed_group.html
  M ckan/templates/activity_streams/changed_package.html
  M ckan/templates/activity_streams/changed_package_extra.html
  M ckan/templates/activity_streams/changed_resource.html
  M ckan/templates/activity_streams/changed_user.html
  M ckan/templates/activity_streams/deleted_group.html
  M ckan/templates/activity_streams/deleted_package.html
  M ckan/templates/activity_streams/deleted_package_extra.html
  M ckan/templates/activity_streams/deleted_resource.html
  M ckan/templates/activity_streams/new_group.html
  M ckan/templates/activity_streams/new_package.html
  M ckan/templates/activity_streams/new_package_extra.html
  M ckan/templates/activity_streams/new_resource.html
  M ckan/templates/activity_streams/new_user.html
  M ckan/templates/activity_streams/removed_tag.html

  Log Message:
  -----------
  Tidy up activity streams templates

Remove HTML/CSS code repetition, make more consistent.

All activities are rendered using an activity_stream_event macro in
_util.html.

The macro has CSS classes instead of inline styles.

Also added a couple of helper functions that I needed.





More information about the ckan-changes mailing list