src/main/webapp/WEB-INF/jspf/project-header.jspf

Thu, 22 Oct 2020 11:06:15 +0200

author
Mike Becker <universe@uap-core.de>
date
Thu, 22 Oct 2020 11:06:15 +0200
changeset 136
7281bdf43c60
parent 134
f47e82cd6077
child 181
502a10e24b85
permissions
-rw-r--r--

automatic assignment of component lead (if available) - fixes #28

86
0a658e53177c improves issue overview and adds progress information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1 <%--
0a658e53177c improves issue overview and adds progress information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2 project: Project
134
f47e82cd6077 completes feature: project components
Mike Becker <universe@uap-core.de>
parents: 115
diff changeset
3 component: Component (optional)
86
0a658e53177c improves issue overview and adds progress information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4 --%>
101
c34c81b87674 minor visual improvements
Mike Becker <universe@uap-core.de>
parents: 86
diff changeset
5 <div class="table project-attributes">
86
0a658e53177c improves issue overview and adds progress information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6 <div class="row">
0a658e53177c improves issue overview and adds progress information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
7 <div class="caption"><fmt:message key="name"/>:</div>
0a658e53177c improves issue overview and adds progress information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
8 <div><c:out value="${project.name}"/></div>
0a658e53177c improves issue overview and adds progress information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
9 <div class="caption"><fmt:message key="description"/>:</div>
0a658e53177c improves issue overview and adds progress information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
10 <div><c:out value="${project.description}"/></div>
0a658e53177c improves issue overview and adds progress information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
11 </div>
0a658e53177c improves issue overview and adds progress information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
12 <div class="row">
0a658e53177c improves issue overview and adds progress information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
13 <div class="caption"><fmt:message key="owner"/>:</div>
0a658e53177c improves issue overview and adds progress information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
14 <div>
0a658e53177c improves issue overview and adds progress information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
15 <c:if test="${not empty project.owner}"><c:out value="${project.owner.displayname}"/></c:if>
0a658e53177c improves issue overview and adds progress information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
16 </div>
0a658e53177c improves issue overview and adds progress information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
17 <div class="caption"><fmt:message key="repoUrl"/>:</div>
0a658e53177c improves issue overview and adds progress information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
18 <div>
0a658e53177c improves issue overview and adds progress information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
19 <c:if test="${not empty project.repoUrl}">
0a658e53177c improves issue overview and adds progress information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
20 <a target="_blank" href="<c:out value="${project.repoUrl}"/>"><c:out
0a658e53177c improves issue overview and adds progress information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
21 value="${project.repoUrl}"/></a>
0a658e53177c improves issue overview and adds progress information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
22 </c:if>
0a658e53177c improves issue overview and adds progress information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
23 </div>
0a658e53177c improves issue overview and adds progress information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
24 </div>
134
f47e82cd6077 completes feature: project components
Mike Becker <universe@uap-core.de>
parents: 115
diff changeset
25 <c:if test="${not empty component and component.id gt 0}">
f47e82cd6077 completes feature: project components
Mike Becker <universe@uap-core.de>
parents: 115
diff changeset
26 <div class="row">
f47e82cd6077 completes feature: project components
Mike Becker <universe@uap-core.de>
parents: 115
diff changeset
27 <div class="caption"><fmt:message key="component"/>:</div>
f47e82cd6077 completes feature: project components
Mike Becker <universe@uap-core.de>
parents: 115
diff changeset
28 <div><c:out value="${component.name}"/></div>
f47e82cd6077 completes feature: project components
Mike Becker <universe@uap-core.de>
parents: 115
diff changeset
29 <div class="caption"><fmt:message key="component.lead"/>:</div>
f47e82cd6077 completes feature: project components
Mike Becker <universe@uap-core.de>
parents: 115
diff changeset
30 <div>
f47e82cd6077 completes feature: project components
Mike Becker <universe@uap-core.de>
parents: 115
diff changeset
31 <c:if test="${not empty component.lead}">
f47e82cd6077 completes feature: project components
Mike Becker <universe@uap-core.de>
parents: 115
diff changeset
32 <c:out value="${component.lead.displayname}"/>
f47e82cd6077 completes feature: project components
Mike Becker <universe@uap-core.de>
parents: 115
diff changeset
33 </c:if>
f47e82cd6077 completes feature: project components
Mike Becker <universe@uap-core.de>
parents: 115
diff changeset
34 <c:if test="${empty component.lead}">
f47e82cd6077 completes feature: project components
Mike Becker <universe@uap-core.de>
parents: 115
diff changeset
35 <fmt:message key="placeholder.null-lead"/>
f47e82cd6077 completes feature: project components
Mike Becker <universe@uap-core.de>
parents: 115
diff changeset
36 </c:if>
f47e82cd6077 completes feature: project components
Mike Becker <universe@uap-core.de>
parents: 115
diff changeset
37 </div>
f47e82cd6077 completes feature: project components
Mike Becker <universe@uap-core.de>
parents: 115
diff changeset
38 </div>
f47e82cd6077 completes feature: project components
Mike Becker <universe@uap-core.de>
parents: 115
diff changeset
39 </c:if>
86
0a658e53177c improves issue overview and adds progress information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
40 </div>

mercurial