mirror of
https://github.com/humhub/humhub.git
synced 2025-01-17 22:28:51 +01:00
parent
8d22c5f410
commit
8bdd0ec5b4
@ -39,7 +39,7 @@ $(document).ready(function () {
|
||||
if (activityLastEntryReached == false) {
|
||||
|
||||
// load more activities
|
||||
loadMore();
|
||||
loadMoreActivities();
|
||||
}
|
||||
|
||||
}
|
||||
@ -49,7 +49,7 @@ $(document).ready(function () {
|
||||
/**
|
||||
* load new activities
|
||||
*/
|
||||
function loadMore() {
|
||||
function loadMoreActivities() {
|
||||
|
||||
// save url for activity reloads
|
||||
var _url = activityReloadUrl.replace('lastEntryId', activityLastLoadedEntryId);
|
||||
@ -92,7 +92,7 @@ $(document).ready(function () {
|
||||
}
|
||||
|
||||
// load the first activities
|
||||
loadMore();
|
||||
loadMoreActivities();
|
||||
|
||||
});
|
||||
|
||||
|
@ -1,26 +0,0 @@
|
||||
<?php
|
||||
$count_max = count($notifications);
|
||||
$count_current = 1;
|
||||
$class = "";
|
||||
?>
|
||||
|
||||
|
||||
<?php if ($count_max == 0) { ?>
|
||||
<li class="placeholder">There are no notifications yet.</li>
|
||||
<?php } else { ?>
|
||||
<ul class="media-list">
|
||||
<?php
|
||||
foreach ($notifications as $notification) {
|
||||
?>
|
||||
<?php echo $notification->getOut(); ?>
|
||||
|
||||
<?php
|
||||
$count_current++;
|
||||
}
|
||||
?>
|
||||
</ul>
|
||||
<?php } ?>
|
||||
|
||||
<script type="text/javascript">
|
||||
$('span.time').timeago();
|
||||
</script>
|
Loading…
x
Reference in New Issue
Block a user