Skip to content

Commit

Permalink
Added hooks for inline CSS styles and JavaScript epilogue
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Dvorkin committed Sep 27, 2009
1 parent 41dc3ce commit b62f59f
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
18 changes: 18 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,24 @@ It does not matter how slowly you go as long as you do not stop.
First they ignore you, then they laugh at you, then they fight you,
then you win. –- Mahatma Gandhi

Sat, Sep 26, 2009
---------------------------------------------------------------------
- Added hooks for inline CSS styles and JavaScript epilogue.
- crm_tags: added JavaScript and CSS stylesheets for tags.
- crm_tags: make sure tags stay unique when searching.

Thu, Sep 24, 2009
---------------------------------------------------------------------
- crm_tags: Made controller methods work with query string that contains tags.

Tue, Sep 22, 2009
---------------------------------------------------------------------
- crm_tags: Proof of concept of combining query string with hash-prefixed tags.

Mon, Sep 21, 2009
---------------------------------------------------------------------
- Added hooks to model view partials.

Mon, Sep 21, 2009
---------------------------------------------------------------------
- Added hooks to model view partials.
Expand Down
2 changes: 2 additions & 0 deletions app/views/common/_inline_styles.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,5 @@
li.user .suspended { background: gainsboro; }
li.user .active { background: lightgreen; }
li.user .signed_up { background: lightsalmon; }

= hook(:inline_styles, self)
1 change: 1 addition & 0 deletions app/views/layouts/application.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,4 @@
%script{:type => "text/javascript"}
= get_browser_timezone_offset
= yield :javascript_epilogue
= hook(:javascript_epilogue, self)

0 comments on commit b62f59f

Please sign in to comment.