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

'Online' navbar filter #21

Open
ppettit opened this issue Apr 13, 2016 · 0 comments
Open

'Online' navbar filter #21

ppettit opened this issue Apr 13, 2016 · 0 comments

Comments

@ppettit
Copy link
Owner

ppettit commented Apr 13, 2016

@androidwiltron said:

"navbar filter is currently none(all), low audio, offline, recording, paused

add 'Online' filter button, hiding the 'offline' rooms

(maybe approach with a conditional: if (room parameters) offline = False ??)

my early try is below, kind of works with no count:

client/navbar/navbar.html

line 54

<label class="btn peakaboo-filter btn-success {{#unless getPublishedCount 'online'}}peakaboo-filter-zero{{/unless}}" title="Show Online">
  <input type="checkbox" name="online"><i class="glyphicon glyphicon-ok"></i> {{getPublishedCount 'online'}}
</label>

"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant