Permalink
Browse files

Added text to the labels in the news secttion. Also changed reddit se…

…arch to only find work 'morning'
  • Loading branch information...
1 parent c90f235 commit 76608b1499459252b0dcb308cfd8974e79e872a8 @hpoom committed Mar 29, 2013
Showing with 2 additions and 2 deletions.
  1. +1 −1 js/routers/ping.js
  2. +1 −1 templates/news.hbs
View
@@ -42,7 +42,7 @@ define( [
$( '#content' ).html( mainTpl( {home: 'true'} ) );
require( ['collections/reddit','views/news'], function( Reddit, NewsView ) {
var morningChangeNews = new Reddit();
- morningChangeNews.url = self.domains.reddit + '/r/Civcraft/search.json?q=title:morning+change+author:ttk2&restrict_sr=on&sort=new&t=week&jsonp=?';
+ morningChangeNews.url = self.domains.reddit + '/r/Civcraft/search.json?q=title:morning+author:ttk2&restrict_sr=on&sort=new&t=week&jsonp=?';
morningChangeNews.fetch( { success: function( collection, response ) {
var newsView = new NewsView( {collection: collection} );
} } );
View
@@ -3,7 +3,7 @@
<div class="accordion-heading">
<a class="accordion-toggle clearfix" data-toggle="collapse" data-parent="#accordionNews" href="#news_{{data.name}}">
{{data.title}}
- <p class="pull-right">{{data.createdString}} <span class="badge">{{data.score}}</span> <span class="badge badge-info">{{data.num_comments}}</span></p>
+ <p class="pull-right">{{data.createdString}} <span class="label">{{data.score}} votes</span> <span class="label label-info">{{data.num_comments}} comments</span></p>
</a>
</div>
<div id="news_{{data.name}}" class="accordion-body collapse">

0 comments on commit 76608b1

Please sign in to comment.