Changeset 7719

Show
Ignore:
Timestamp:
05/29/09 15:33:04 (14 months ago)
Author:
josowski
Message:

The journal context was being read out by a freemarker template before the value was actually set. This was causing the Stumbled apon social bookmarking link to not be complete.

This resolves this issue

References #1317

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • head/ambra/webapp/src/main/webapp/article/article_variables.ftl

    r7698 r7719  
    1919--> 
    2020 
     21<#if Request[freemarker_config.journalContextAttributeKey]?exists> 
     22  <#assign journalContext = Request[freemarker_config.journalContextAttributeKey].journal> 
     23<#else> 
     24  <#assign journalContext = ""> 
     25</#if> 
     26 
    2127<#-- 
    2228  The digg URL has to be different as digg appears to be picking up the redirect 
     
    3339  <#assign jDocURL = "" /> 
    3440  <#assign docTitle = "" /> 
    35 </#if> 
    36  
    37 <#if Request[freemarker_config.journalContextAttributeKey]?exists> 
    38   <#assign journalContext = Request[freemarker_config.journalContextAttributeKey].journal> 
    39 <#else> 
    40   <#assign journalContext = ""> 
    4141</#if> 
    4242