Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #728 from pascalchevrel/723_buttons_hover
fix #723: Experiment buttons on hover in results view
  • Loading branch information
pascalchevrel committed Apr 18, 2016
2 parents 228916b + 7d3ecab commit bfb0deb
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
10 changes: 5 additions & 5 deletions app/classes/Transvision/ShowResults.php
Expand Up @@ -412,7 +412,7 @@ public static function resultsTable($search_object, $search_results, $page)
<td dir='{$direction3}' lang='{$locale3}'>
<span class='celltitle'>{$locale3}</span>
<div class='string' id='{$clipboard_target_string2}'>{$target_string2}</div>
<div dir='ltr' class='result_meta_link'>
<div dir='ltr' class='result_meta_link invisible'>
<a class='source_link' href='{$locale3_path}'>
&lt;source&gt;
</a>
Expand All @@ -430,16 +430,16 @@ public static function resultsTable($search_object, $search_results, $page)
<tr class='{$component}'>
<td>
<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='resultpermalink tag invisible' id='{$anchor_name}' href='#{$anchor_name}' title='Permalink to this result'>link</a>
<a class='l10n tag invisible' 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>
</td>
<td dir='{$direction1}' lang='{$locale1}'>
<span class='celltitle'>{$locale1}</span>
<div class='string'>
{$source_string}
</div>
<div dir='ltr' class='result_meta_link'>
<div dir='ltr' class='result_meta_link invisible'>
<a class='source_link' href='{$locale1_path}'>
&lt;source&gt;
</a>
Expand All @@ -457,7 +457,7 @@ public static function resultsTable($search_object, $search_results, $page)
<td dir='{$direction2}' lang='{$locale2}'>
<span class='celltitle'>{$locale2}</span>
<div class='string' id='{$clipboard_target_string}'>{$target_string}</div>
<div dir='ltr' class='result_meta_link'>
<div dir='ltr' class='result_meta_link invisible'>
<a class='source_link' href='{$locale2_path}'>
&lt;source&gt;
</a>
Expand Down
9 changes: 9 additions & 0 deletions web/style/transvision.css
Expand Up @@ -1165,6 +1165,7 @@ fieldset {
z-index: 99;
}

<<<<<<< HEAD
/* Unlocalized words view */
#unlocalized_all fieldset#grpChkBox {
border: 1px solid #000;
Expand All @@ -1185,3 +1186,11 @@ fieldset {
#unlocalized_all #words tr :nth-child(1) ~ td {
display: none;
}

.invisible {
visibility: hidden;
}

tr:hover .invisible {
visibility: visible;
}

0 comments on commit bfb0deb

Please sign in to comment.