|
| File: org/alfresco/components/blog/postview.get.desc.xml |
<webscript>
<shortname>Blog view post</shortname>
<description>Blog: Returns a detail view of a post</description>
<url>/components/blog/postview</url>
</webscript> |
| File: org/alfresco/components/blog/postview.get.head.ftl |
<#-- General blog components assets - added in the page template
<script type="text/javascript" src="${page.url.context}/components/blog/blogdiscussions-common.js"></script>
<script type="text/javascript" src="${page.url.context}/components/blog/blog-common.js"></script>
-->
<!-- BlogPostView Assets -->
<link rel="stylesheet" type="text/css" href="${page.url.context}/components/blog/postview.css" />
<script type="text/javascript" src="${page.url.context}/components/blog/postview.js"></script>
|
| File: org/alfresco/components/blog/postview.get.html.ftl |
<script type="text/javascript">//<![CDATA[
new Alfresco.BlogPostView("${args.htmlid}").setOptions(
{
siteId: "${page.url.templateArgs.site}",
containerId: "blog",
postId: "${page.url.args['postId']}"
}).setMessages(
${messages}
);
//]]></script>
<div id="${args.htmlid}-post">
<div id="${args.htmlid}-post-view-div">
</div>
</div>
|
| File: org/alfresco/components/blog/postview.get.properties |
## template
header.back=Go to Post List
## JS messages
message.loadpostdata.failure=Unable to load blog post data
message.confirm.delete=Do you really want to delete blog post ''{0}''?
message.delete.success=Post deleted
message.delete.failure=Unable to delete post
message.publishExternal.success=Blog post published
message.publishExternal.failure=Unable to publish to external blog
message.updateExternal.success=External blog post updated
message.updateExternal.failure=Unable to update external post
message.unpublishExternal.success=External blog post removed
message.unpublishExternal.failure=Unable to remove external post
message.wait=Please wait...
# blog post content
post.publishedOn=Published on
post.author=Author
post.externalLink=External Post
post.clickHere=Click here
post.read=Read
post.replies=Replies
post.tags=Tags
post.noTags=(None)
## post status values
status.draft=Draft
status.updated=Updated
status.published.outofsync=Out of sync
status.published=Published
## post actions
action.edit=Edit
action.delete=Delete
action.updateexternal=Update Externally
action.unpublishexternal=Remove Externally
action.publishexternal=Publish Externally
button.delete=Delete |