** Changed in: mahara
     Assignee: (unassigned) => Dan Poltawski (dan-poltawski)

-- 
'Edit' & 'Delete' button on taskslist.tpl needs to be translatable.
https://bugs.launchpad.net/bugs/617953
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.

Status in Mahara ePortfolio: New

Bug description:
'Edit' & 'Delete' button on artefact/plans/theme/raw/taskslist.tpl needs to be 
translatable as below.

--- [ before ] ---
{auto_escape on}
{foreach from=$tasks.data item=task}
    {if $task->completed == -1}
        <tr class="incomplete">
            <td class="c1">{$task->completiondate}</td>
            <td class="c2">{$task->title}</td>
            <td class="c3">{$task->description}</td>
            <td class="c4">&nbsp;</td>
            <td class="c5"><a 
href="{$WWWROOT}artefact/plans/edit/task.php?id={$task->task}">Edit</a></td>
            <td class="c6"><a 
href="{$WWWROOT}artefact/plans/delete/task.php?id={$task->task}">Delete</a></td>
        </tr>
    {else}
        <tr class="{cycle values='r0,r1'}">
            <td class="c1">{$task->completiondate}</td>
            <td class="c2">{$task->title}</td>
            <td class="c3">{$task->description}</td>
            {if $task->completed == 1}
                <td class="c4"><div class="completed"><img 
src="{$WWWROOT}theme/raw/static/images/success.gif" alt="" /></div></td>
            {else}
                <td class="c4">&nbsp;</td>
            {/if}
            <td class="c5"><a 
href="{$WWWROOT}artefact/plans/edit/task.php?id={$task->task}">Edit</a></td>
            <td class="c6"><a 
href="{$WWWROOT}artefact/plans/delete/task.php?id={$task->task}">Delete</a></td>
        </tr>
    {/if}
{/foreach}
{/auto_escape}


--- [ after ] ---
{auto_escape on}
{foreach from=$tasks.data item=task}
    {if $task->completed == -1}
        <tr class="incomplete">
            <td class="c1">{$task->completiondate}</td>
            <td class="c2">{$task->title}</td>
            <td class="c3">{$task->description}</td>
            <td class="c4">&nbsp;</td>
            <td class="c5"><a 
href="{$WWWROOT}artefact/plans/edit/task.php?id={$task->task}"><?php echo 
get_string('edit'); ?></a></td>
            <td class="c6"><a 
href="{$WWWROOT}artefact/plans/delete/task.php?id={$task->task}"><?php echo 
get_string('delete'); ?></a></td>
        </tr>
    {else}
        <tr class="{cycle values='r0,r1'}">
            <td class="c1">{$task->completiondate}</td>
            <td class="c2">{$task->title}</td>
            <td class="c3">{$task->description}</td>
            {if $task->completed == 1}
                <td class="c4"><div class="completed"><img 
src="{$WWWROOT}theme/raw/static/images/success.gif" alt="" /></div></td>
            {else}
                <td class="c4">&nbsp;</td>
            {/if}
            <td class="c5"><a 
href="{$WWWROOT}artefact/plans/edit/task.php?id={$task->task}"><?php echo 
get_string('edit'); ?></a></td>
            <td class="c6"><a 
href="{$WWWROOT}artefact/plans/delete/task.php?id={$task->task}"><?php echo 
get_string('delete'); ?></a></td>
        </tr>
    {/if}
{/foreach}
{/auto_escape}



_______________________________________________
Mailing list: https://launchpad.net/~mahara-contributors
Post to     : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp

Reply via email to