Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sbsoft
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ildar Safiullin
sbsoft
Commits
9ff13024
Commit
9ff13024
authored
May 16, 2018
by
farax
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
еее
parent
8bc46ac5
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
1 deletions
+17
-1
modules/video-news/src/main/resources/META-INF/resources/configuration.jsp
+5
-0
templates/preview/asset publisher/new_publications.ftl
+12
-1
No files found.
modules/video-news/src/main/resources/META-INF/resources/configuration.jsp
View file @
9ff13024
...
...
@@ -24,6 +24,11 @@
if (!leftList.contains(tempKeyValuePDF)) {
rightList.add(tempKeyValuePDF);
}
KeyValuePair tempKeyValueXLS = new KeyValuePair("application/vnd.ms-excel","application/vnd.ms-excel");
if (!leftList.contains(tempKeyValueXLS)) {
rightList.add(tempKeyValueXLS);
}
long rootFolderId = assetPublisherDisplayContext.getRootFolder();
String rootFolderName = StringPool.BLANK;
...
...
templates/preview/asset publisher/new_publications.ftl
View file @
9ff13024
...
...
@@ -16,7 +16,7 @@
<li class="lfr-asset-item col-md-4">
<div class="taglib-vertical-card entry-display-style">
<div class="editIcon">
<span><@getEditIcon /></span>
<span><@getEditIcon /></span>
<span><@getMoveToTrashIcon /></span>
</div>
<div class="card">
<a href="${href}">
...
...
@@ -53,3 +53,13 @@
</#if>
</#if>
</#macro>
<#macro getMoveToTrashIcon>
<#if assetRenderer.hasEditPermission(themeDisplay.getPermissionChecker())>
<#assign AssetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService")>
<@liferay_ui["icon"]
iconCssClass="icon-trash"
message="Trash"
url="javascript:alert('Еще не реализовано удаление');"
/>
</#if>
</#macro>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment