Skip to content

Commit

Permalink
Issue backdrop#2298: layout thumbnail and name links are broken.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Rodgers authored and quicksketch committed Nov 2, 2016
1 parent 2bcdcb5 commit 0a44987
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/modules/layout/layout.theme.inc
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ function theme_layout_info($variables) {
// Build template thumbnail preview
$preview_path = $info['path'] . '/' . $info['preview'];
$preview_img = theme('image', array('uri' => $preview_path));
$preview = l($preview_img, 'admin/structure/layouts/manage/' . $layout->name . '/edit', array('html' => TRUE));
$preview = l($preview_img, 'admin/structure/layouts/manage/' . $layout->name, array('html' => TRUE));

// Create a link to the settings page
$template = l($info['title'], 'admin/structure/layouts/manage/' . $layout->name . '/settings');
$template = l($info['title'], 'admin/structure/layouts/manage/' . $layout->name . '/configure');

$output = '';
$output .= '<div class="layout-info">';
Expand Down

0 comments on commit 0a44987

Please sign in to comment.