Merge remote-tracking branch 'refs/remotes/origin/master' into develop

# Conflicts:
#	.gitignore
main
Baris Usakli 7 years ago
commit c0090908fb

@ -1,6 +1,6 @@
'use strict'; 'use strict';
var S = require.main.require('string'); var S = require('string');
var meta = module.parent.require('./meta'); var meta = module.parent.require('./meta');
var user = module.parent.require('./user'); var user = module.parent.require('./user');

@ -1,8 +1,8 @@
{ {
"name": "nodebb-theme-persona", "name": "nodebb-theme-persona",
"version": "6.1.3", "version": "6.1.5",
"nbbpm": { "nbbpm": {
"compatibility": "^1.4.4" "compatibility": "^1.4.4 || ^1.5.0 || ^1.6.0"
}, },
"description": "Persona theme for NodeBB", "description": "Persona theme for NodeBB",
"main": "theme.less", "main": "theme.less",
@ -37,5 +37,8 @@
"license": "BSD-2-Clause", "license": "BSD-2-Clause",
"bugs": { "bugs": {
"url": "https://github.com/psychobunny/nodebb-theme-persona/issues" "url": "https://github.com/psychobunny/nodebb-theme-persona/issues"
},
"dependencies": {
"string": "^3.3.3"
} }
} }

@ -31,6 +31,7 @@
<p class="hidden-xs">{name}</p> <p class="hidden-xs">{name}</p>
<!-- IF !topics.length --> <!-- IF !topics.length -->
<hr class="visible-xs" />
<div class="alert alert-warning" id="category-no-topics"> <div class="alert alert-warning" id="category-no-topics">
[[category:no_topics]] [[category:no_topics]]
</div> </div>

@ -14,18 +14,18 @@
<!-- ENDIF loggedIn --> <!-- ENDIF loggedIn -->
</div> </div>
<div class="btn-group pull-right category-dropdown-container <!-- IF !categories.length -->hidden<!-- ENDIF !categories.length -->"> <div component="category/dropdown" class="btn-group pull-right category-dropdown-container <!-- IF !categories.length -->hidden<!-- ENDIF !categories.length -->">
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown"> <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
<!-- IF selectedCategory --><!-- IF selectedCategory.icon --><span class="fa-stack"><i style="color: {selectedCategory.bgColor};" class="fa fa-circle fa-stack-2x"></i><i class="fa fa-fw fa-stack-1x {selectedCategory.icon}" style="color: {selectedCategory.color};"></i></span><!-- ENDIF selectedCategory.icon --> {selectedCategory.name}<!-- ELSE --> <!-- IF selectedCategory --><!-- IF selectedCategory.icon --><span class="fa-stack"><i style="color: {selectedCategory.bgColor};" class="fa fa-circle fa-stack-2x"></i><i class="fa fa-fw fa-stack-1x {selectedCategory.icon}" style="color: {selectedCategory.color};"></i></span><!-- ENDIF selectedCategory.icon --> {selectedCategory.name}<!-- ELSE -->
[[unread:all_categories]]<!-- ENDIF selectedCategory --> <span class="caret"></span> [[unread:all_categories]]<!-- ENDIF selectedCategory --> <span class="caret"></span>
</button> </button>
<ul class="dropdown-menu category-dropdown-menu" role="menu"> <ul component="category/list" class="dropdown-menu category-dropdown-menu" role="menu">
<li role="presentation" class="category"> <li role="presentation" class="category">
<a role="menu-item" href="{config.relative_path}/{selectedFilter.url}"><i class="fa fa-fw <!-- IF !selectedCategory -->fa-check<!-- ENDIF !selectedCategory -->"></i> [[unread:all_categories]]</a> <a role="menu-item" href="{config.relative_path}/{selectedFilter.url}"><i class="fa fa-fw <!-- IF !selectedCategory -->fa-check<!-- ENDIF !selectedCategory -->"></i> [[unread:all_categories]]</a>
</li> </li>
<!-- BEGIN categories --> <!-- BEGIN categories -->
<li role="presentation" class="category" data-cid="{categories.cid}"> <li role="presentation" class="category" data-cid="{categories.cid}" data-parent-cid="{categories.parentCid}">
<a role="menu-item" href="{config.relative_path}/{selectedFilter.url}?cid={categories.cid}"><i class="fa fa-fw <!-- IF categories.selected -->fa-check<!-- ENDIF categories.selected -->"></i>{categories.level}<!-- IF categories.icon --><span class="fa-stack"><i style="color: {categories.bgColor};" class="fa fa-circle fa-stack-2x"></i><i class="fa fa-fw fa-stack-1x {categories.icon}" style="color: {categories.color};"></i></span><!-- ENDIF categories.icon --> {categories.name}</a> <a role="menu-item" href="{config.relative_path}/{selectedFilter.url}?cid={categories.cid}"><i component="category/select/icon" class="fa fa-fw <!-- IF categories.selected -->fa-check<!-- ENDIF categories.selected -->"></i>{categories.level}<!-- IF categories.icon --><span class="fa-stack"><i style="color: {categories.bgColor};" class="fa fa-circle fa-stack-2x"></i><i class="fa fa-fw fa-stack-1x {categories.icon}" style="color: {categories.color};"></i></span><!-- ENDIF categories.icon --> {categories.name}</a>
</li> </li>
<!-- END categories --> <!-- END categories -->
</ul> </ul>

@ -35,18 +35,18 @@
</ul> </ul>
</div> </div>
<div class="btn-group pull-right category-dropdown-container"> <div component="category/dropdown" class="btn-group pull-right category-dropdown-container">
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown"> <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
<!-- IF selectedCategory --><!-- IF selectedCategory.icon --><span class="fa-stack"><i style="color: {selectedCategory.bgColor};" class="fa fa-circle fa-stack-2x"></i><i class="fa fa-fw fa-stack-1x {selectedCategory.icon}" style="color: {selectedCategory.color};"></i></span><!-- ENDIF selectedCategory.icon --> {selectedCategory.name}<!-- ELSE --> <!-- IF selectedCategory --><!-- IF selectedCategory.icon --><span class="fa-stack"><i style="color: {selectedCategory.bgColor};" class="fa fa-circle fa-stack-2x"></i><i class="fa fa-fw fa-stack-1x {selectedCategory.icon}" style="color: {selectedCategory.color};"></i></span><!-- ENDIF selectedCategory.icon --> {selectedCategory.name}<!-- ELSE -->
[[unread:all_categories]]<!-- ENDIF selectedCategory --> <span class="caret"></span> [[unread:all_categories]]<!-- ENDIF selectedCategory --> <span class="caret"></span>
</button> </button>
<ul class="dropdown-menu category-dropdown-menu" role="menu"> <ul component="category/list" class="dropdown-menu category-dropdown-menu" role="menu">
<li role="presentation" class="category"> <li role="presentation" class="category">
<a role="menu-item" href="{config.relative_path}/{selectedFilter.url}"><i class="fa fa-fw <!-- IF !selectedCategory -->fa-check<!-- ENDIF !selectedCategory -->"></i> [[unread:all_categories]]</a> <a role="menu-item" href="{config.relative_path}/{selectedFilter.url}"><i class="fa fa-fw <!-- IF !selectedCategory -->fa-check<!-- ENDIF !selectedCategory -->"></i> [[unread:all_categories]]</a>
</li> </li>
<!-- BEGIN categories --> <!-- BEGIN categories -->
<li role="presentation" class="category" data-cid="{categories.cid}"> <li role="presentation" class="category" data-cid="{categories.cid}" data-parent-cid="{categories.parentCid}">
<a role="menu-item" href="{config.relative_path}/{selectedFilter.url}?cid={categories.cid}"><i class="fa fa-fw <!-- IF categories.selected -->fa-check<!-- ENDIF categories.selected -->"></i>{categories.level}<!-- IF categories.icon --><span class="fa-stack"><i style="color: {categories.bgColor};" class="fa fa-circle fa-stack-2x"></i><i class="fa fa-fw fa-stack-1x {categories.icon}" style="color: {categories.color};"></i></span><!-- ENDIF categories.icon --> {categories.name}</a> <a role="menu-item" href="{config.relative_path}/{selectedFilter.url}?cid={categories.cid}"><i component="category/select/icon" class="fa fa-fw <!-- IF categories.selected -->fa-check<!-- ENDIF categories.selected -->"></i>{categories.level}<!-- IF categories.icon --><span class="fa-stack"><i style="color: {categories.bgColor};" class="fa fa-circle fa-stack-2x"></i><i class="fa fa-fw fa-stack-1x {categories.icon}" style="color: {categories.color};"></i></span><!-- ENDIF categories.icon --> {categories.name}</a>
</li> </li>
<!-- END categories --> <!-- END categories -->
</ul> </ul>

Loading…
Cancel
Save