Commit 53d484d2 authored by Liam Sharpe's avatar Liam Sharpe Committed by Robert Lyon

made the text on the group overview page normal size - Bug #1465107

behatnotneeded

Change-Id: Ic898b324685df72e410d9ba4702273218dec4284
parent f83f6a5c
{foreach from=$items item=item}
<li class="list-group-item text-small text-medium">
<li class="list-group-item">
<a href="{$item.url}" class="outer-link">
<span class="sr-only">{$item.name|str_shorten_text:60:true}</span>
</a>
{$item.name|str_shorten_text:60:true}
<span class="owner metadata inner-link"> -
<span class="owner metadata inner-link text-small"> -
{str tag=by section=view}
<a href="{$item.ownerurl}" class="text-success">
<a href="{$item.ownerurl}" class="text-success text-small">
{$item.ownername}
</a>
</span>
{* submittedstatus == '2' is equivalent to PENDING_RELEASE *}
<small class="detail mts">
{str tag=timeofsubmission section=view}:
{$item.submittedtime|format_date}
<div class="metadata mts text-small">
{str tag=timeofsubmission section=view}:
{$item.submittedtime|format_date}
{if $item.submittedstatus == '2'}-
{str tag=submittedpendingrelease section=view}
{/if}
</small>
</div>
</li>
{/foreach}
......@@ -54,6 +54,15 @@
{str tag=nosharedviewsyet section=view}
</div>
{/if}
{if $sharedviews.pagination_js}
<script>
addLoadEvent(function() {literal}{{/literal}
{$sharedviews.pagination_js|safe}
removeElementClass('sharedviews_page_container', 'hidden');
{literal}}{/literal});
</script>
{/if}
<hr />
{/if}
......@@ -128,7 +137,7 @@
<ul id="groupviewlist" class="list-group list-unstyled list-group-unbordered">
{if $mysubmitted}
{foreach from=$mysubmitted item=item}
<li class="list-group-item text-small text-medium {if $item.submittedstatus != '2'}pbm{/if}">
<li class="list-group-item {if $item.submittedstatus != '2'}pbm{/if}">
<span>
{if $item.submittedtime}
{str tag=youhavesubmittedon section=view arg1=$item.url arg2=$item.name arg3=$item.submittedtime|format_date}
......
{foreach from=$items item=view}
<li class="list-group-item text-small text-medium">
<li class="list-group-item">
<a href="{$view.fullurl}" class="outer-link">
<span class="sr-only">{$view.title}</span>
</a>
......@@ -14,10 +14,10 @@
{$view.description|str_shorten_html:100:true|strip_tags|safe}
</small>
{/if}
{if $view.tags}
<small class="tags mts">
<strong>{str tag=tags}:</strong>
<strong>{str tag=tags}:</strong>
{list_tags owner=$view.owner tags=$view.tags}
</small>
{/if}
......
{foreach from=$items item=collection}
<li class="list-group-item text-small text-medium">
<li class="list-group-item">
<a href="{$collection.fullurl}" class="outer-link">
<span class="sr-only">{$collection.name}</span>
</a>
{$collection.name}
{if $collection.sharedby}
<span class="owner metadata inner-link">
<span class="owner metadata inner-link">
{str tag=by section=view}
{if $collection.group}
<a href="{group_homepage_url($collection.groupdata)}" class="text-success">{$collection.sharedby}</a>
{elseif $collection.owner}
<a href="{profile_url($collection.user)}" class="text-success">{$collection.sharedby}</a>
<a href="{profile_url($collection.user)}" class="text-success text-small">{$collection.sharedby}</a>
{else}
{$collection.sharedby}
{/if}
......@@ -24,7 +24,7 @@
{$collection.description|str_shorten_html:100:true|strip_tags|safe}
</small>
{/if}
{if $collection.tags}
<small class="">
<strong>{str tag=tags}:</strong>
......
......@@ -4,17 +4,17 @@
*}
{assign var='author_link_index' value=1}
{foreach from=$items item=view}
<li class="list-group-item text-small text-medium">
<li class="list-group-item">
<a href="{$view.fullurl}" class="outer-link">
<span class="sr-only">{$view.title}</span>
</a>
{$view.title}
{if $view.sharedby}
<span class="owner metadata inner-link"> -
<span class="owner inner-link text-small"> -
{str tag=by section=view}
{if $view.group}
<a href="{group_homepage_url($view.groupdata)}" class="text-success">
<a href="{group_homepage_url($view.groupdata)}" class="text-success text-small">
{$view.sharedby}
</a>,
{elseif $view.owner}
......@@ -29,7 +29,7 @@
{assign var='author_link_index' value=`$author_link_index+1`}
{/if},
{else}
<a href="{profile_url($view.user)}" class="text-success">
<a href="{profile_url($view.user)}" class="text-success text-small">
{$view.sharedby}
</a>,
{/if}
......@@ -38,7 +38,7 @@
{/if}
</span>
<span class="postedon metadata">
<span class="postedon text-small">
{if $view.mtime == $view.ctime}{str tag=Created}{else}{str tag=Updated}{/if}
{$view.mtime|strtotime|format_date: 'strftimedate'}
</span>
......@@ -52,7 +52,7 @@
{if $view.tags}
<small class="tags mt0">
<strong class="">{str tag=tags}:</strong>
<strong class="">{str tag=tags}:</strong>
<span class="inner-link">
{list_tags owner=$view.owner tags=$view.tags}
</span>
......
......@@ -10,13 +10,13 @@
<h4 class="title list-group-item-heading mts mlxl">
<a href="{$WWWROOT}interaction/forum/topic.php?id={$postinfo->topic|escape}&post={$postinfo->id}" class="plm">
{$postinfo->topicname}
<span class="metadata text-small">
<span class="metadata">
{$postinfo->author|display_name}
</span>
</a>
</h4>
<div class="ptl detail">
<p class="text-small">
<p class="">
{$postinfo->body|str_shorten_html:100:true|safe}
</p>
</div>
......@@ -33,4 +33,3 @@
{str tag=noforumpostsyet section=interaction.forum}
</div>
{/if}
......@@ -11,13 +11,13 @@
<h4 class="title list-group-item-heading mts mlxl">
<a class="plm" href="{$WWWROOT}interaction/forum/topic.php?id={$postinfo->topic}&post={$postinfo->id}">
{$postinfo->topicname}
{$postinfo->topicname}
<span class="metadata text-small">
- {$postinfo->author|display_name}</span>
</a>
</h4>
<div class="ptl detail">
<p class=" text-small">{$postinfo->body|str_shorten_html:100:true|safe}</p>
<p class="">{$postinfo->body|str_shorten_html:100:true|safe}</p>
</div>
</li>
......@@ -36,4 +36,4 @@
<a class="morelink panel-footer" href="{$WWWROOT}interaction/forum/index.php?group={$group->id}">
{str tag=gotoforums section=interaction.forum}
<span class="icon icon-arrow-circle-right mls pull-right"></span>
</a>
\ No newline at end of file
</a>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment