Skip to content

Commit

Permalink
added rss feed button
Browse files Browse the repository at this point in the history
  • Loading branch information
Dale Williams committed Feb 3, 2012
1 parent 77984ef commit 8b9b3aa
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 1 deletion.
1 change: 1 addition & 0 deletions ideas/index.html.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
{% if current_user %}<li><a href="?filter=own" class="mine {% if filter == "own" %}active{% endif %}" title="show my entries">Mine</a></li>{% endif %}
<li><a href="?sort=like" class="popular {% if sort == "like" %}active{% endif %}" title="show popular entries">Popular</a></li>
</ul>
<a href="{{space.permalink}}.atom" title="RSS feed for {{space.title}}" class="rss">RSS</a>
</div>

{% for idea in space.ideas %}
Expand Down
2 changes: 1 addition & 1 deletion layouts/subdomain.html.liquid
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% if env == "development" %}
{% assign asset_url="https://s3.amazonaws.com/rusic-ideas-theme" %}
{% assign asset_url="http://localhost:8080" %}
{% else %}
{% assign asset_url="https://s3.amazonaws.com/rusic-ideas-theme" %}
{% endif %}
Expand Down
Binary file added public/images/icon-feed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions public/stylesheets/ideas.css
Original file line number Diff line number Diff line change
Expand Up @@ -3226,6 +3226,12 @@ h1.show {
-moz-box-shadow: inset 0 0 4px #adadad;
box-shadow: inset 0 0 4px #adadad;
}
#filters .rss {
float: right;
position: relative;
padding-left: 20px;
background: url(../images/icon-feed.png) 6px center no-repeat;
}
label.error {
color: #d4903b;
font-size: .9em;
Expand Down
1 change: 1 addition & 0 deletions public/stylesheets/ideas.less
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,7 @@ top: -38px;
&.mine { background: url(../images/icon-mine.png) 6px center no-repeat; }
&.popular { background: url(../images/icon-popular.png) 6px center no-repeat; }
&.active, &:hover { .box-shadow(inset 0 0 4px darken(@grayLight, 7%); }}}}
.rss { float: right; position: relative; padding-left: 20px; background: url(../images/icon-feed.png) 6px center no-repeat; }
}

label.error {
Expand Down

0 comments on commit 8b9b3aa

Please sign in to comment.