2 function chLocation(newLocation) { document.location = newLocation; }
5 <table class="mobile-table">
8 {if $user->canManageTeam()}
9 <table class="mobile-table-details">
10 {if $inactive_projects}
11 <tr><td class="sectionHeaderNoBorder">{$i18n.form.projects.active_projects}</td></tr>
14 <td width="35%" class="tableHeader">{$i18n.label.thing_name}</td>
15 <td width="35%" class="tableHeader">{$i18n.label.description}</td>
16 <td class="tableHeader">{$i18n.label.edit}</td>
19 {foreach $active_projects as $project}
20 <tr bgcolor="{cycle values="#f5f5f5,#dedee5"}">
21 <td>{$project.name|escape:'html'}</td>
22 <td>{$project.description|escape:'html'}</td>
23 <td><a href="project_edit.php?id={$project.id}">{$i18n.label.edit}</a></td>
31 <td align="center"><br>
32 <form><input type="button" onclick="chLocation('project_add.php');" value="{$i18n.button.add_project}"></form>
37 {if $inactive_projects}
38 <table cellspacing="1" cellpadding="3" border="0" width="100%">
39 <tr><td class="sectionHeaderNoBorder">{$i18n.form.projects.inactive_projects}</td></tr>
41 <td width="35%" class="tableHeader">{$i18n.label.thing_name}</td>
42 <td width="35%" class="tableHeader">{$i18n.label.description}</td>
43 <td class="tableHeader">{$i18n.label.edit}</td>
45 {foreach $inactive_projects as $project}
46 <tr bgcolor="{cycle values="#f5f5f5,#dedee5"}">
47 <td>{$project.name|escape:'html'}</td>
48 <td>{$project.description|escape:'html'}</td>
49 <td><a href="project_edit.php?id={$project.id}">{$i18n.label.edit}</a></td>
56 <td align="center"><br>
57 <form><input type="button" onclick="chLocation('project_add.php');" value="{$i18n.button.add_project}"></form>
63 <table cellspacing="1" cellpadding="3" border="0" width="100%">
65 <td class="tableHeader">{$i18n.label.thing_name}</td>
66 <td class="tableHeader">{$i18n.label.description}</td>
69 {foreach $active_projects as $project}
70 <tr bgcolor="{cycle values="#f5f5f5,#dedee5"}">
71 <td>{$project.name|escape:'html'}</td>
72 <td>{$project.description|escape:'html'}</td>