Commit 23c87fd8 authored by Pat Kira's avatar Pat Kira Committed by Aaron Wells
Browse files

Blocktype comment view (bootstrap)

Bug 1465107: Use Bootstrap CSS Framework

Change-Id: I5d46d34bea4661ca7a6a680ea29a4b37f3e0e685
parent 73e9e799
{if $allowcomments}
<div class="comments panel-body pt0">
{if $commentcount > 0}
<a class="commentlink text-thin pull-left ptl" id="block_{$blockid}" href="{$artefacturl}">
{str tag=Comments section=artefact.comment} ({$commentcount})
</a>
{else}
{if $allowcomments}
<span id='block_{$blockid}' class="text-light text-thin nocomments text-default pull-left">
{str tag=Comments section=artefact.comment} ({$commentcount})
</span>
{/if}
{if $allowcomments}
{if !$editing}
<p class="text-right">
<a class="text-thin" href="{$artefacturl}">
<span class="fa fa-lg fa-plus text-primary prs"></span>
{str tag=addcomment section=artefact.comment}
</a>
</p>
{/if}
{/if}
{/if}
<a class="commentlink text-thin pull-left" id="block_{$blockid}" href="{$artefacturl}">
{str tag=Comments section=artefact.comment} ({$commentcount})
</a>
</div>
{/if}
{if !$editing}
<div class="feedbacktablewrapper">
<div id="feedbacktable_{$blockid}" class="feedbacktable">
......
......@@ -79,7 +79,7 @@
{if $feedback->position eq 'base'}
{if $feedback->count || $enablecomments}
<h3 class="title">
{str tag="comments" section="artefact.comment"}
{str tag="Comments" section="artefact.comment"}
</h3>
<div id="feedbacktable" class="feedbacktable fullwidth">
......@@ -89,10 +89,10 @@
{/if}
{/if}
<div id="viewmenu" class="view-menu ptxl pbxl">
<div id="viewmenu" class="view-menu ptxl pbl">
{include file="view/viewmenu.tpl"}
<div class="tab-content pt0">
<div class="tab-content">
{if $feedback->position eq 'base' && $enablecomments}
<div id="comment-form" role="tabpanel" class="tab-pane active">
{$addfeedbackform|safe}
......@@ -115,7 +115,7 @@
</div>
{if $visitstring}
<div class="ctime center s">
<div class="ctime s text-thin">
{$visitstring}
</div>
{/if}
......
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