summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEarl Miles2011-01-05 19:53:36 (GMT)
committer Earl Miles2011-01-05 19:53:36 (GMT)
commita8d2a9ea4c1ac126a3fb93946bb15a870921fd3f (patch)
treef5e014517d063dbaa7d83730e1be0871b3ed80ed
parent95dde10e213ca4745c7f7880a304ea253a120d63 (diff)
#1014866 by das-peter: Smarter title panes.
-rw-r--r--CHANGELOG.txt1
-rw-r--r--views_content/plugins/content_types/views_panes.inc2
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGELOG.txt b/CHANGELOG.txt
index f02f204..64bdbca 100644
--- a/CHANGELOG.txt
+++ b/CHANGELOG.txt
@@ -60,3 +60,4 @@ Fix broken query in term context config.
#999302 by troky: ctools_jump_menu() needed updating to new form parameters.
#964174: stylizer plugin theme delegation was in the wrong place, causing errors.
#991658 by burlap: Fully load the "user" context for the logged in user because not all fields are in $user.
+#1014866 by das-peter: Smarter title panes.
diff --git a/views_content/plugins/content_types/views_panes.inc b/views_content/plugins/content_types/views_panes.inc
index 894c263..3f67c06 100644
--- a/views_content/plugins/content_types/views_panes.inc
+++ b/views_content/plugins/content_types/views_panes.inc
@@ -90,7 +90,7 @@ function _views_content_panes_content_type($view, $display) {
$title = $display->handler->get_option('pane_title');
if (!$title) {
- $title = $view->name;
+ $title = t('@view: @display', array('@view' => $view->name, '@display' => $display->display_title));
}
$description = $display->handler->get_option('pane_description');