[
https://issues.apache.org/jira/browse/JSPWIKI-1114?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17151086#comment-17151086
]
Juan Pablo Santos Rodríguez commented on JSPWIKI-1114:
------------------------------------------------------
Hi Ulf,
would you mind making a pull request on github with this change (with its
corresponding unit test, if possible)? O:-)
Reviewing + merging a PR from any device is fairly trivial, whereas I won't be
able to push it from home for maybe a couple of weeks ~ one month (a lot of
$dayjob right now)
cheers,
> Show only part of Weblog entry on the overview page
> ---------------------------------------------------
>
> Key: JSPWIKI-1114
> URL: https://issues.apache.org/jira/browse/JSPWIKI-1114
> Project: JSPWiki
> Issue Type: Improvement
> Affects Versions: 2.11.0-M4
> Reporter: Ulf Dittmer
> Priority: Minor
> Fix For: 2.11.0-M5
>
> Attachments: WeblogPlugin.java
>
>
> Attached is an enhanced version of the WeblogPlugin.java. It adds a "preview"
> parameter that takes an integer value after how many characters the entry
> should be cut off on the overview page. It then adds a "More" link to the
> full entry. If the parameter is missing, no truncation is done, as it is now.
> Also needed is this in PluginResources.properties:
>
> {code:java}
> weblogentryplugin.more = (more){code}
> and this in PluginResources_de.properties
>
>
> {code:java}
> weblogentryplugin.postedby = Von {0}
> weblogentryplugin.addcomment = <span class="icon-plus"></span> Kommentieren
> ({0})
> weblogentryplugin.more = (mehr)
> {code}
> This addresses one of the questions asked on
> https://jspwiki-wiki.apache.org/Wiki.jsp?page=WeblogPlugin
--
This message was sent by Atlassian Jira
(v8.3.4#803005)