|
@@ -41,7 +41,7 @@
|
|
|
</form:form>
|
|
|
<sys:message content="${message}"/>
|
|
|
<table id="contentTable" class="table table-striped table-bordered table-condensed">
|
|
|
- <thead><tr><th>栏目</th><th>标题</th><th>点击数</th><th>发布者</th><th>更新时间</th><th>手动修改发布时间</th><th>操作</th></tr></thead>
|
|
|
+ <thead><tr><th>栏目</th><th>标题</th><th>点击数</th><th>发布者</th><th>更新时间</th><th>手动修改发布时间</th><th>是否发布</th><th>操作</th></tr></thead>
|
|
|
<tbody>
|
|
|
<c:forEach items="${page.list}" var="article">
|
|
|
<tr>
|
|
@@ -56,11 +56,17 @@
|
|
|
</c:if>
|
|
|
<td><fmt:formatDate value="${article.updateDate}" type="both"/></td>
|
|
|
<td>${article.publisheDate}</td>
|
|
|
+ <td>${article.delFlag eq 1?"否":"是"}</td>
|
|
|
<td>
|
|
|
<%-- <a href="${pageContext.request.contextPath}/front/view-${article.category.id}-${article.id}${fns:getUrlSuffix()}" target="_blank">访问</a> --%>
|
|
|
<a href="${pageContext.request.contextPath}/main?sign=${pageContext.request.contextPath}/front/view-${article.category.id}-${article.id}${fns:getUrlSuffix()}" target="_blank">访问</a>
|
|
|
<a href="${ctx}/cms/article/form?id=${article.id}&TempcategoryId=${categoryId}">修改</a>
|
|
|
- <a href="${ctx}/cms/article/delete?id=${article.id}${article.delFlag ne 0?'&isRe=true':''}&categoryId=${article.category.id}" onclick="return confirmx('确认要${article.delFlag ne 0?'发布':'删除'}该文章吗?', this.href)" >${article.delFlag ne 0?'发布':'删除'}</a>
|
|
|
+ <a href="${ctx}/cms/article/delete?id=${article.id}&categoryId=${article.category.id}" onclick="return confirmx('确认要删除该文章吗?', this.href)" >删除</a>
|
|
|
+ <c:if test="${article.delFlag eq 1 && user.loginName!='ycjtj'}">
|
|
|
+
|
|
|
+ <a href="${ctx}/cms/article/delete?id=${article.id}&isRe=true&categoryId=${article.category.id}" onclick="return confirmx('确认要发布该文章吗?', this.href)" >发布</a>
|
|
|
+ </c:if>
|
|
|
+
|
|
|
</td>
|
|
|
</tr>
|
|
|
</c:forEach>
|