Commit 4f91192c8c182f07cbe183898793b7756106a78e
1 parent
d07ee20e
Exists in
master
and in
1 other branch
- changed look of maintopics-table.html
Showing
1 changed file
with
16 additions
and
4 deletions
Show diff stats
templates/maintopics-table.html
| @@ -73,9 +73,15 @@ | @@ -73,9 +73,15 @@ | ||
| 73 | {% if t['level'] is None %} | 73 | {% if t['level'] is None %} |
| 74 | <tr class="table-primary"> | 74 | <tr class="table-primary"> |
| 75 | <td> | 75 | <td> |
| 76 | - <div class="text-muted"> | ||
| 77 | - {{ t['name'] }} | ||
| 78 | - </div> | 76 | + {% if t['type']=='chapter' %} |
| 77 | + <div class="text-muted lead"> | ||
| 78 | + {{ t['name'] }} | ||
| 79 | + </div> | ||
| 80 | + {% else %} | ||
| 81 | + <div class="text-muted"> | ||
| 82 | + {{ t['name'] }} | ||
| 83 | + </div> | ||
| 84 | + {% end %} | ||
| 79 | </td> | 85 | </td> |
| 80 | 86 | ||
| 81 | <!-- <td class="text-center text-muted"> | 87 | <!-- <td class="text-center text-muted"> |
| @@ -90,7 +96,13 @@ | @@ -90,7 +96,13 @@ | ||
| 90 | {% else %} | 96 | {% else %} |
| 91 | <tr> | 97 | <tr> |
| 92 | <td class="text-primary"> | 98 | <td class="text-primary"> |
| 93 | - {{ t['name'] }} | 99 | + {% if t['type']=='chapter' %} |
| 100 | + <div class="lead"> | ||
| 101 | + {{ t['name'] }} | ||
| 102 | + </div> | ||
| 103 | + {% else %} | ||
| 104 | + {{ t['name'] }} | ||
| 105 | + {% end %} | ||
| 94 | </td> | 106 | </td> |
| 95 | 107 | ||
| 96 | <!-- <td class="text-center text-success"> | 108 | <!-- <td class="text-center text-success"> |