forked from mozilla/zamboni
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add news to the dev hub (bug 660899)
- Loading branch information
Showing
8 changed files
with
72 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<div class="blog-posts"> | ||
<h3> | ||
{{ _('Developer News') }} | ||
<a title="{{ _('Subscribe to this feed') }}" class="subscribe-feed" | ||
href="http://blog.mozilla.com/addons/feed/"> | ||
{{ _('Subscribe to this feed') }}</a> | ||
</h3> | ||
<ul> | ||
{% for post in blog_posts %} | ||
<li class="item"> | ||
<a href="{{ post.permalink }}" target="_new"> | ||
{{ post.title }} | ||
</a> | ||
<span class="activity-timestamp"> | ||
{{ post.date_posted|timesince }} | ||
</span> | ||
</li> | ||
{% endfor %} | ||
</ul> | ||
<p class="older-activity"><a href="http://blog.mozilla.com/addons/"> | ||
{{ _('View the blog ►') }}</a></p> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
ALTER TABLE blogposts | ||
ADD COLUMN id INTEGER UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY FIRST, | ||
ADD COLUMN `modified` datetime NOT NULL default '0000-00-00 00:00:00', | ||
ADD COLUMN `created` datetime NOT NULL default '0000-00-00 00:00:00'; | ||
|
||
UPDATE blogposts SET modified=date_posted, created=date_posted; | ||
|