aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-rw-r--r--views/default/videolist/groupprofile_videolist.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/views/default/videolist/groupprofile_videolist.php b/views/default/videolist/groupprofile_videolist.php
index 646590c95..7c51c5615 100644
--- a/views/default/videolist/groupprofile_videolist.php
+++ b/views/default/videolist/groupprofile_videolist.php
@@ -44,7 +44,8 @@ if ($videos) {
echo "<p><a href=\"{$users_file_url}\">" . elgg_echo("videolist:groupall") . "</a></p>";
} else {
- echo "<p class='margin_top'>" . elgg_echo("videolist:none") . "</p>";
+ $upload_video = $vars['url'] . "pg/videolist/browse/" . page_owner_entity()->username;
+ echo "<p class='margin_top'><a href=\"{$upload_video}\">" . elgg_echo("videolist:add") . "</a></p>";
}
echo "</div>";
?> \ No newline at end of file