Commit 0eb2e7e5 authored by Matija Obreza's avatar Matija Obreza
Browse files

Moved edit links for posts

parent 62a5d3d8
......@@ -19,7 +19,7 @@
<div class="post-actions">
<security:authorize access="hasRole('ADMINISTRATOR')">
<a href="<c:url value="/content/activitypost/${activityPost.id}/edit" />" class="close"> <spring:message code="edit" /></a>
<a href="<c:url value="/content/activitypost/${activityPost.id}/edit" />"><spring:message code="edit" /></a>
&bull;
</security:authorize>
<%--
......
......@@ -44,10 +44,6 @@
<div class="middle-col clearfix">
<h2><spring:message code="activity.recent-activity" /></h2>
<security:authorize access="hasRole('ADMINISTRATOR')">
<a href="<c:url value="/content/activitypost/new" />" class="pull-right close" style=""> <spring:message code="activitypost.add-new-post" />
</a>
</security:authorize>
<ul class="nav nav-tabs" id="news">
<li class="active"><a href="#news-feed">News Feed</a></li>
<li><a href="#by-country">By Country</a></li>
......@@ -56,6 +52,10 @@
<div class="tab-content">
<div class="tab-pane active" id="news-feed">
<security:authorize access="hasRole('ADMINISTRATOR')">
<a href="<c:url value="/content/activitypost/new" />" class="pull-right close" style=""> <spring:message code="activitypost.add-new-post" />
</a>
</security:authorize>
<h1>Recent Activity</h1>
<div class="all-posts">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment