Changeset 7402
- Timestamp:
- 03/11/09 16:52:49 (17 months ago)
- Location:
- head/ambra
- Files:
-
- 2 modified
-
libs/js/src/main/scripts/ambra/displayComment.js (modified) (3 diffs)
-
webapp/src/main/webapp/discussion/threaded_replies.ftl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
head/ambra/libs/js/src/main/scripts/ambra/displayComment.js
r7395 r7402 263 263 264 264 if (jsonObj.annotation.CIStatement) { 265 ciStatementFrag = this.ciStatementMsg + jsonObj.annotation.CIStatement;265 ciStatementFrag = "<div class=\"cis\">" + this.ciStatementMsg + jsonObj.annotation.CIStatement + "</div>"; 266 266 } else { 267 ciStatementFrag = this.noCIStatementMsg;267 ciStatementFrag = "<div class=\"cis\">" + this.noCIStatementMsg + "</div>"; 268 268 } 269 269 … … 388 388 } 389 389 390 contentDiv.innerHTML = this.buildDisplayBody(jsonObj) ;390 contentDiv.innerHTML = this.buildDisplayBody(jsonObj) + this.buildDisplayCIStatement(jsonObj); 391 391 392 392 var cDetailDiv = document.createElement('div'); … … 406 406 cDetailDiv.appendChild(commentLink); 407 407 cDetailDiv.appendChild(responseLink);*/ 408 cDetailDiv.appendChild(this.buildDisplayCIStatement(jsonObj));409 408 cDetailDiv.appendChild(this.buildDisplayViewLink(jsonObj)); 410 409 contentDiv.appendChild(cDetailDiv); -
head/ambra/webapp/src/main/webapp/discussion/threaded_replies.ftl
r7399 r7402 39 39 <blockquote> 40 40 ${reply.commentWithUrlLinking} 41 </blockquote>42 <blockquote class="cis">43 <#if reply.CIStatement??>44 < b>Competing interests declared:</b> ${reply.CIStatement}45 <#else>46 < b>No competing interests declared.</b>47 </#if>41 <div class="cis"> 42 <#if reply.CIStatement??> 43 <b>Competing interests declared:</b> ${reply.CIStatement} 44 <#else> 45 <b>No competing interests declared.</b> 46 </#if> 47 </div> 48 48 </blockquote> 49 49 <!-- end : response body text --> … … 102 102 ${baseAnnotation.commentWithUrlLinking} 103 103 <#if citation??><div class="citation"><strong>Citation: </strong><#assign isCorrection=true/><#if baseAnnotation.type?index_of("Retraction") gte 0><#assign isRetraction=true/><#else><#assign isRetraction=false/></#if><#assign doi=baseAnnotation.id?replace("info:doi/","") /><#include "/article/citation.ftl"/></#if> 104 <div class="cis"> 105 <#if baseAnnotation.CIStatement??> 106 <b>Competing interests declared:</b> ${baseAnnotation.CIStatement} 107 <#else> 108 <b>No competing interests declared.</b> 109 </#if> 110 </div> 104 111 </blockquote> 105 <blockquote class="cis">106 <#if baseAnnotation.CIStatement??>107 <b>Competing interests declared:</b> ${baseAnnotation.CIStatement}108 <#else>109 <b>No competing interests declared.</b>110 </#if>111 </blockquote>112 112 <!-- end : response body text --> 113 113 <!-- begin : toolbar options -->
