Skip to content

Commit

Permalink
Tweak search
Browse files Browse the repository at this point in the history
  • Loading branch information
barryvdh committed Mar 5, 2015
1 parent 8fab58c commit 9607ff1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/views/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,6 @@
<div class="modal-body">
<script>
$('#searchModel').on('ajax:success', function(event, data, status, xhr) {
console.log(data);
$('#searchModel .results').html(data);
});
</script>
Expand Down
4 changes: 2 additions & 2 deletions src/views/search.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@
</thead>
<tbody>
<?php foreach($translations as $t): ?>
<?php $groupUrl = action('Barryvdh\TranslationManager\Controller@getIndex', $t->group); ?>
<tr>
<td><?= $t->group ?></td>
<td><a href="<?= $groupUrl ?>#<?= $t->key ?>"><?= $t->group ?></a></td>
<td><?= $t->key ?></td>
<td><?= $t->locale ?></td>
<td><?= htmlentities($t->value, ENT_QUOTES, 'UTF-8', false) ?></td>
</tr>
<?php endforeach; ?>

</tbody>
</table>

0 comments on commit 9607ff1

Please sign in to comment.