@** * Yobi, Project Hosting SW * * Copyright 2013 NAVER Corp. * http://yobi.io * * @author Suwon Chae * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. **@ @(project:Project, user:User) @import utils.JodaDateUtil._ @import utils.TemplateHelper._
  • @project.owner / @project.name @if(project.isPrivate){ }
    @if(project.isForkedFromOrigin){ }
    @for(label <- project.labels) { @label.name }
    @project.overview
    @Messages("project.create") @agoOrDateString(project.createdDate) @if(project.lastPushedDateAgo() != null) {, @Messages("project.codeUpdate") @agoOrDateString(project.lastPushedDate)}
      @for(member <- User.findUsersByProject(project.id)){
    • @member.name
    • }
    @Html(Messages("project.onmember", User.findUsersByProject(project.id).size))
    @if(UserApp.currentUser.loginId != project.owner ){ @if(User.isWatching(project)){ @Messages("notification.watch") @project.getWatchingCount } @if(!User.isWatching(project) && project.isPublic) { @Messages("notification.watch") @project.getWatchingCount } } @if(user.loginId != project.owner && user.loginId == UserApp.currentUser.loginId && ProjectUser.isMember(user.id, project.id)){ @Messages("userinfo.leaveProject") }
  • @loginUser() = { @UserApp.currentUser }