Permalink
Browse files

Make entity name selection easier - fixes #830 (#836)

  • Loading branch information...
TheoChevalier authored and flodolo committed Jan 17, 2017
1 parent 7b548c1 commit fb205087b85285784e8b57a2a4127e8f27df9da5
@@ -465,7 +465,9 @@ public static function resultsTable($search_object, $search_results, $page)
<span class='celltitle'>Entity</span>
<a class='resultpermalink tag' id='{$anchor_name}' href='#{$anchor_name}' title='Permalink to this result'>link</a>
<a class='l10n tag' href='/string/?entity={$key}&amp;repo={$current_repo}' title='List all translations for this entity'>l10n</a>
- <a class='link_to_entity' href=\"/{$entity_link}\">{$result_entity}</a>
+ <span class='link_to_entity'>
+ <a href=\"/{$entity_link}\">{$result_entity}</a>
+ </span>
</td>
<td dir='{$direction1}' lang='{$locale1}'>
<span class='celltitle'>{$locale1}</span>
@@ -48,7 +48,9 @@
$content .= "<tr class='{$component} {$search_id}'>
<td>
<span class='celltitle'>Entity</span>
- <a class='link_to_entity' href=\"/{$string_id_link}\">" . ShowResults::formatEntity($string_id) . "</a>
+ <span class='link_to_entity'>
+ <a href=\"/{$string_id_link}\">" . ShowResults::formatEntity($string_id) . "</a>
+ </span>
</td>
<td dir='{$direction1}'>
<span class='celltitle'>{$source_locale}</span>
@@ -97,7 +97,9 @@
<span class='celltitle'>Entity</span>
<a class='resultpermalink tag' id='{$anchor_name}' href='#{$anchor_name}' title='Permalink to this string'>link</a>
<a class='l10n tag' href='/string/?entity={$key}&amp;repo={$repo}' title='List all translations for this entity'>l10n</a>
- <a class='link_to_entity' href=\"/{$entity_link}\">{$entity}</a>
+ <span class='link_to_entity'>
+ <a href=\"/{$entity_link}\">{$entity}</a>
+ </span>
</td>
<td dir='ltr' lang='{$reference_locale}'>
<span class='celltitle'>{$reference_locale}</span>
@@ -167,7 +167,9 @@
<span class='celltitle'>Entity</span>
<a class='resultpermalink tag' id='{$anchor_name}' href='#{$anchor_name}' title='Permalink to this result'>link</a>
<a class='l10n tag' href='/string/?entity={$entity}&amp;repo={$current_repo}' title='List all translations for this entity'>l10n</a>
- <a class='link_to_entity' href='/{$entity_link}'>" . ShowResults::formatEntity($entity, $search->getSearchTerms()) . "</a>
+ <span class='link_to_entity'>
+ <a href='/{$entity_link}'>" . ShowResults::formatEntity($entity, $search->getSearchTerms()) . "</a>
+ </span>
</td>
<td dir='{$direction1}'>
<span class='celltitle'>{$source_locale}</span>

0 comments on commit fb20508

Please sign in to comment.