Author: ghuber
Date: Sun Oct 20 10:21:34 2013
New Revision: 1533873
URL: http://svn.apache.org/r1533873
Log:
Swap headings and remove comment link
Modified:
roller/trunk/app/src/main/webapp/themes/basic/_day-mobile.vm
Modified: roller/trunk/app/src/main/webapp/themes/basic/_day-mobile.vm
URL:
http://svn.apache.org/viewvc/roller/trunk/app/src/main/webapp/themes/basic/_day-mobile.vm?rev=1533873&r1=1533872&r2=1533873&view=diff
==============================================================================
--- roller/trunk/app/src/main/webapp/themes/basic/_day-mobile.vm (original)
+++ roller/trunk/app/src/main/webapp/themes/basic/_day-mobile.vm Sun Oct 20
10:21:34 2013
@@ -4,23 +4,27 @@
## Loop entries
#foreach( $entry in $entries )
<li data-role="list-divider" data-theme="c">
- #if($utils.isEmpty($entry.text))
- $entry.transformedText
- #else
- $entry.transformedSummary
- #end
+
+ $entry.title
#if ($utils.isUserAuthorizedToAuthor($entry.website))
<a href="$url.editEntry($entry.anchor)" data-role="button"
data-inline="true"
data-mini="true">$text.get("macro.weblog.entrypermalink.edit")</a>
#end
#set($commentCount = $entry.commentCount)
#if($entry.commentsStillAllowed || $commentCount > 0)
- #set($link = "$url.comments($entry.anchor)" )
- <a href="$link" class="commentsLink"data-role="button"
data-inline="true" data-mini="true">$text.get("macro.weblog.comments")
[$commentCount]</a>
+ $text.get("macro.weblog.comments") [$commentCount]
#end
</li>
<li data-theme="c">
- <a href="$entry.permalink" data-transition="slide">
- <h3>$entry.title</h3>
+ #if(!$model.permalink)
+ <a href="$entry.permalink" data-transition="slide">
+ #end
+ <h3>
+ #if($utils.isEmpty($entry.text))
+ $entry.transformedText
+ #else
+ $entry.transformedSummary
+ #end
+ </h3>
#if($model.permalink)
<p class="ui-li-desc content-textbox">
$entry.displayContent
@@ -30,7 +34,9 @@
Posted at $utils.formatDate($entry.pubTime, "hh:mma MMM dd, yyyy")
by $entry.creator.screenName in <span
class="category">$entry.category.name</span>
</p>
- </a>
+ #if(!$model.permalink)
+ </a>
+ #end
</li>
#end ## End for #foreach
</ul>