Skip to content
Permalink
Browse files

Fix #862 - Add the link to Pootle / Pontoon on the entity view (#863)

* Fix #862 - Add the link to Pootle / Pontoon on the entity view

* Use the same order as the other view
  • Loading branch information...
Vincent Lequertier authored and flodolo committed Mar 23, 2017
1 parent 7e2e506 commit da02e46c388a9973d4b1a6d4013180eaeac94c1f
Showing with 8 additions and 0 deletions.
  1. +8 −0 app/views/results_entities.php
@@ -163,6 +163,13 @@
$meta_target .= $error_message;
}
// Get the tool used to edit strings for the target locale
$toolUsedByTargetLocale = Project::getLocaleTool($locale);
$edit_link = ($current_repo == 'aurora' && $toolUsedByTargetLocale != '')
? ShowResults::getEditLink($toolUsedByTargetLocale, $entity, $locale)
: '';
$table .= "
<tr class='{$component}'>
<td>
@@ -190,6 +197,7 @@
$table .= "
<div dir='ltr' class='result_meta_link'>
<a class='source_link' href='{$path_locale2}'>&lt;source&gt;</a>
{$edit_link}
{$file_bug}
{$meta_target}
</div>

0 comments on commit da02e46

Please sign in to comment.
You can’t perform that action at this time.