Skip to content
Permalink
Browse files

Curate Dashboard feeds

  • Loading branch information...
linc committed Apr 25, 2014
1 parent 5bf26d5 commit 21ee7eab78055dd7017c86ded89425e4d91a3f97
@@ -2392,6 +2392,14 @@ span.InformSprite.Dice { background-position: -442px -586px; }
display: inline-block;
}

/* Hide extra News info in Dashboard feed */
.List .FeedItem .tptn_counter {
display: none;
}
.List .FeedItem em p:nth-of-type(2) {
display: none;
}

/* 16px Sprites Black Transparent */
/*.SpDashboard,
.SpCog { background-position: 0 -148px; }
@@ -3,7 +3,7 @@ jQuery(document).ready(function($) {
// Load news & tutorials from Vanilla
var lists = $('div.Column div.List'),
newsColumn = $('div.NewsColumn div.List'),
helpColumn = $('div.HelpColumn div.List');
announceColumn = $('div.AnnounceColumn div.List');

loadFeed = function(container, type, rows, format) {
$.ajax({
@@ -21,7 +21,7 @@ jQuery(document).ready(function($) {
};

lists.addClass('Loading');
loadFeed(newsColumn, 'news', 3, 'extended');
loadFeed(helpColumn, 'help', 3, 'extended');
loadFeed(newsColumn, 'news', 4, 'extended');
loadFeed(announceColumn, 'announce', 2, 'extended');

});
@@ -34,7 +34,11 @@
</tbody>
</table>
</div>
<div class="Column Column1 AnnounceColumn">
<h1><?php echo T('Open Source News'); ?></h1>
<div class="List"></div>
</div>
<div class="Column Column1 NewsColumn">
<h1><?php echo T('Recent News'); ?></h1>
<h1><?php echo T('Blog Posts By Vanilla Forums'); ?></h1>
<div class="List"></div>
</div>

0 comments on commit 21ee7ea

Please sign in to comment.
You can’t perform that action at this time.