Changeset e1086bd
- Timestamp:
- Jun 1, 2010, 3:56:17 AM (15 years ago)
- Branches:
- master, client
- Children:
- 0671644
- Parents:
- 5e6ab71
- git-author:
- Alex Dehnert <adehnert@…> (05/31/10 21:36:13)
- git-committer:
- Alex Dehnert <adehnert@…> (06/01/10 03:56:17)
- Location:
- remit
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
remit/media/style/style.css
r0f53aae re1086bd 89 89 font-weight: normal; 90 90 } 91 table.money-table .positive { color: green; } 92 table.money-table .negative { color: red; } 91 93 92 94 span.username -
remit/remit_templates/finance_core/reporting.html
rd1692e8 re1086bd 67 67 <th>{{label}}</th> 68 68 {% for cell in row %} 69 <td>{% if cell %}<strong >{% endif %}${{cell}}{% if cell %}</strong>{% endif %}</td>69 <td>{% if cell %}<strong class='{{cell|sign}}'>{% endif %}${{cell}}{% if cell %}</strong>{% endif %}</td> 70 70 {% endfor %} 71 71 </tr> -
remit/util/templatetags/misc.py
rc968555 re1086bd 24 24 else: return value 25 25 26 @register.filter 27 def sign(value): 28 if value > 0: return 'positive' 29 elif value < 0: return 'negative' 30 else: return 'zero' 31 26 32 register.filter('layer_num', finance_core.models.layer_num) 27 33 register.filter('layer_name', finance_core.models.layer_name)
Note: See TracChangeset
for help on using the changeset viewer.