updates for renamed model attributes of project.

This commit is contained in:
kunw 2016-06-14 15:38:59 +08:00
parent ea344ef10e
commit 881f67d1bc

View File

@ -34,11 +34,11 @@
<td colspan="5" height="320px" class="empty-hint" ng-if="vm.projects.length === 0"><h3 class="text-muted">// 'no_projects_add_new_project' | tr //</h3></td> <td colspan="5" height="320px" class="empty-hint" ng-if="vm.projects.length === 0"><h3 class="text-muted">// 'no_projects_add_new_project' | tr //</h3></td>
</tr> </tr>
<tr ng-if="vm.projects.length > 0" ng-repeat="p in vm.projects"> <tr ng-if="vm.projects.length > 0" ng-repeat="p in vm.projects">
<td><a href="/ng/repository#/repositories?project_id=//p.ProjectId//&is_public=//p.Public//">//p.name//</a></td> <td><a href="/ng/repository#/repositories?project_id=//p.project_id//&is_public=//p.public//">//p.name//</a></td>
<td>//p.repo_count//</td> <td>//p.repo_count//</td>
<td>//vm.getProjectRole(p.current_user_role_id)//</td> <td>//vm.getProjectRole(p.current_user_role_id)//</td>
<td>//p.creation_time | dateL : 'YYYY-MM-DD HH:mm:ss'//</td> <td>//p.creation_time | dateL : 'YYYY-MM-DD HH:mm:ss'//</td>
<td><publicity-button is-public="p.Public" owned="p.OwnerId == vm.user.UserId" project-id="p.ProjectId"></publicity-button></td> <td><publicity-button is-public="p.public" owned="p.OwnerId == vm.user.user_id" project-id="p.project_id"></publicity-button></td>
</tr> </tr>
</tbody> </tbody>
</table> </table>