Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
projectpages: v8 update
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
- Loading branch information
Showing
with
16 additions
and 16 deletions.
- +5 −5 v8/projectpages/README.md
- +3 −3 v8/projectpages/projectpages.py
- +1 −1 v8/projectpages/templates/jinja/project.tmpl
- +1 −1 v8/projectpages/templates/jinja/project_helper.tmpl
- +2 −2 v8/projectpages/templates/jinja/projects.tmpl
- +1 −1 v8/projectpages/templates/mako/project.tmpl
- +1 −1 v8/projectpages/templates/mako/project_helper.tmpl
- +2 −2 v8/projectpages/templates/mako/projects.tmpl
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
@@ -19,7 +19,7 @@ | ||
<table class="table table-hover"> | ||
<tr> | ||
<td><b>Status</b></td> | ||
<td>{{ project.devstatus(post.meta('devstatus')) }}</td> | ||
</tr> | ||
|
||
{% if post.meta('language') %} | ||
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
@@ -1,6 +1,6 @@ | ||
{# -*- coding: utf-8 -*- #} | ||
|
||
{% macro devstatus(desc) %} | ||
{% if desc == '1' %} | ||
<span class="badge badge-default">Planning</span> | ||
{% elif desc == '2' %} | ||
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
@@ -19,7 +19,7 @@ | ||
<table class="table table-hover"> | ||
<tr> | ||
<td><b>Status</b></td> | ||
<td>${project.devstatus(post.meta('devstatus'))}</td> | ||
</tr> | ||
|
||
% if post.meta('language'): | ||
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
@@ -1,6 +1,6 @@ | ||
## -*- coding: utf-8 -*- | ||
|
||
<%def name="devstatus(desc)" buffered="True"> | ||
% if desc == '1': | ||
<span class="badge badge-default">Planning</span> | ||
% elif desc == '2': | ||
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