Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v1.17] Update module resources path #23

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 0 additions & 29 deletions Assets.php

This file was deleted.

26 changes: 26 additions & 0 deletions assets/Assets.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?php

/**
* @link https://www.humhub.org/
* @copyright Copyright (c) 2015 HumHub GmbH & Co. KG
* @license https://www.humhub.com/licences
*/

namespace humhub\modules\mostactiveusers\assets;

use yii\web\AssetBundle;

class Assets extends AssetBundle
{
/**
* @inheritdoc
*/
public $sourcePath = '@mostactiveusers/resources';

/**
* @inheritdoc
*/
public $css = [
'css/mostactiveusers.css',
];
}
4 changes: 4 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
Changelog
=========

0.3.0 - Unreleased
----------------------
- Fix #23: Update module resources path

0.2.7 - April 14, 2022
----------------------
- Enh #4823: Remove CHTML/CActiveForm usages
Expand Down
6 changes: 3 additions & 3 deletions module.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
"name": "Most Active Users",
"description": "Adds a widget to the dashboard showing the most active users",
"keywords": ["most", "active", "users", "widget", "dashboard"],
"version": "0.2.7",
"version": "0.3.0",
"humhub": {
"minVersion": "1.0"
"minVersion": "1.17"
},
"homepage": "https://github.com/humhub-contrib/mostactiveusers",
"authors": [
{
"name": "Marjana Pesic"
}
]
]
}
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
3 changes: 1 addition & 2 deletions widgets/views/sidebar.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

use yii\helpers\Html;

humhub\modules\mostactiveusers\Assets::register($this);
humhub\modules\mostactiveusers\assets\Assets::register($this);
?>
<div class="panel panel-default" id="mostactiveusers-panel">

Expand Down Expand Up @@ -38,4 +38,3 @@
?>
</div>
</div>