Changeset 10061


Ignore:
Timestamp:
2005-06-13T14:00:28+12:00 (19 years ago)
Author:
mdewsnip
Message:

Now provides a link to view the target file in action, when appropriate (currently, coredm and auxdm).

Location:
trunk/gsdl
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/macros/gti.dm

    r10053 r10061  
    128128  <tr><td align="right">_1_</td><td>_textgtinumchunkstranslated_ (_textgtinumchunksrequiringupdating_(_3_))</td></tr>
    129129  <tr><td align="right">_2_</td><td>_textgtinumchunksrequiringtranslation_</td></tr>
    130   _If_(_4_,<tr><td align="right">&nbsp;</td><td><a href="_gwcgi_?a=gti&p=find&e=_compressedoptions_">_textgticorrectexistingtranslations_</a><br><a href="_httpprefix_/_4_">_textgtidownloadtargetfile_</a></td></tr>)
     130  _If_(_4_,<tr><td align="right">&nbsp;</td><td>
     131     <a href="_gwcgi_?a=gti&p=find&e=_compressedoptions_">_textgticorrectexistingtranslations_</a><br>
     132     <a href="_httpprefix_/_4_">_textgtidownloadtargetfile_</a><br>
     133     _gtiviewtranslationfileinaction_
     134  </td></tr>)
    131135</table>
    132136}
     
    202206</center>
    203207}
     208
     209# Links to see the translation files in action
     210_gtiviewcoredminaction_ {<a href="_gwcgi_?a=p&p=about&c=demo&l=_cgiargtlc_&e=_compressedoptions_">_textgtiviewtargetfileinaction_</a>}
     211_gtiviewauxdminaction_ {<a href="_gwcgi_?a=p&p=about&c=demo&l=_cgiargtlc_&e=_compressedoptions_">_textgtiviewtargetfileinaction_</a>}
     212
     213_gtiviewperlmodulesinaction_ {}
     214_gtiviewglidictinaction_ {}
  • trunk/gsdl/src/recpt/gtiaction.cpp

    r10053 r10061  
    342342  disp.setmacro("gtitargetfilepath", "gti", gti_response.translation_files_key_to_target_file_path_mapping[translation_file_key]);
    343343  disp.setmacro("gtitranslationfiledesc", "gti", "_gti:textgti" + translation_file_key + "_");
     344  disp.setmacro("gtiviewtranslationfileinaction", "gti", "_gti:gtiview" + translation_file_key + "inaction_");
    344345
    345346  disp.setmacro("gtinumchunkstranslated", "gti", gti_response.translation_files_key_to_num_chunks_translated_mapping[translation_file_key]);
Note: See TracChangeset for help on using the changeset viewer.