Author: carlucci
Date: Fri May 25 12:23:45 2012
New Revision: 1342589
URL: http://svn.apache.org/viewvc?rev=1342589&view=rev
Log:
RAVE-615: An easy way to determine the version of RAVE.
- Added a simple footer which displays the POM project version.
Added:
rave/trunk/rave-portal-resources/src/main/webapp/images/rave-logo.png
(with props)
Modified:
rave/trunk/rave-portal-resources/src/main/resources/portal.properties
rave/trunk/rave-portal-resources/src/main/webapp/WEB-INF/jsp/common/footer.jsp
rave/trunk/rave-portal-resources/src/main/webapp/css/rave-css.less
Modified: rave/trunk/rave-portal-resources/src/main/resources/portal.properties
URL:
http://svn.apache.org/viewvc/rave/trunk/rave-portal-resources/src/main/resources/portal.properties?rev=1342589&r1=1342588&r2=1342589&view=diff
==============================================================================
--- rave/trunk/rave-portal-resources/src/main/resources/portal.properties
(original)
+++ rave/trunk/rave-portal-resources/src/main/resources/portal.properties Fri
May 25 12:23:45 2012
@@ -17,6 +17,8 @@
# under the License.
#
+# the application version, taken from the maven POM
+portal.version=${project.version}
#
# These properties are used to construct the opensocial engine's URL. See
# for example page.jsp. Changing them does not change the actual path
configuration
Modified:
rave/trunk/rave-portal-resources/src/main/webapp/WEB-INF/jsp/common/footer.jsp
URL:
http://svn.apache.org/viewvc/rave/trunk/rave-portal-resources/src/main/webapp/WEB-INF/jsp/common/footer.jsp?rev=1342589&r1=1342588&r2=1342589&view=diff
==============================================================================
---
rave/trunk/rave-portal-resources/src/main/webapp/WEB-INF/jsp/common/footer.jsp
(original)
+++
rave/trunk/rave-portal-resources/src/main/webapp/WEB-INF/jsp/common/footer.jsp
Fri May 25 12:23:45 2012
@@ -16,4 +16,15 @@ KIND, either express or implied. See th
specific language governing permissions and limitations
under the License.
--%>
-<%-- Common footer will go here... --%>
\ No newline at end of file
+<%-- Common footer --%>
+<%@ include file="/WEB-INF/jsp/includes/taglibs.jsp" %>
+<footer>
+ <div class="container">
+ <div class="row">
+ <div class="span12 version">
+ <span>Apache Rave
${applicationProperties['portal.version']}</span>
+ <a href="http://rave.apache.org"><img class="footer-logo"
alt="Apache Rave" title="Apache Rave" src="<c:url value="/images/rave-logo.png"
/>" /></a>
+ </div>
+ </div>
+ </div>
+</footer>
\ No newline at end of file
Modified: rave/trunk/rave-portal-resources/src/main/webapp/css/rave-css.less
URL:
http://svn.apache.org/viewvc/rave/trunk/rave-portal-resources/src/main/webapp/css/rave-css.less?rev=1342589&r1=1342588&r2=1342589&view=diff
==============================================================================
--- rave/trunk/rave-portal-resources/src/main/webapp/css/rave-css.less
(original)
+++ rave/trunk/rave-portal-resources/src/main/webapp/css/rave-css.less Fri May
25 12:23:45 2012
@@ -1020,3 +1020,17 @@ span.error, label.error {
box-sizing: border-box;
height: 98%;
}
+
+footer {
+ border-top: 1px solid #ddd;
+}
+
+.footer-logo {
+ height: 35px;
+}
+
+.version {
+ text-align: right;
+ font-size: 9pt;
+ font-style: italic;
+}
Added: rave/trunk/rave-portal-resources/src/main/webapp/images/rave-logo.png
URL:
http://svn.apache.org/viewvc/rave/trunk/rave-portal-resources/src/main/webapp/images/rave-logo.png?rev=1342589&view=auto
==============================================================================
Binary file - no diff available.
Propchange:
rave/trunk/rave-portal-resources/src/main/webapp/images/rave-logo.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream