##// END OF EJS Templates
api: use consistent way to extract users, repos, repo groups and user groups by id or name....
api: use consistent way to extract users, repos, repo groups and user groups by id or name. - makes usage of Number vs String to differenciate if we pick objec ID or it's name this will allow easy fetching of objects by either id or it's name, including numeric string name - fixes #5230

File last commit:

r727:912a8f06 default
r1530:1efcb4ee default
Show More
rhodecode-toggle.html
20 lines | 890 B | text/html | HtmlLexer
rhodecode-toggle: stub for new UI element
r715 <link rel="import" href="../../../../../../bower_components/paper-toggle-button/paper-toggle-button.html">
components: completed rhodecode-toggle for notification settings
r727 <link rel="import" href="../../../../../../bower_components/paper-spinner/paper-spinner.html">
<link rel="import" href="../../../../../../bower_components/paper-tooltip/paper-tooltip.html">
rhodecode-toggle: stub for new UI element
r715
<dom-module id="rhodecode-toggle">
components: completed rhodecode-toggle for notification settings
r727
<style include="shared-styles"></style>
<link rel="stylesheet" href="rhodecode-toggle.css">
rhodecode-toggle: stub for new UI element
r715 <template>
components: completed rhodecode-toggle for notification settings
r727 <div class="rc-toggle">
<paper-toggle-button checked={{checked}}>[[labelStatus(checked)]]</paper-toggle-button>
<paper-tooltip>[[tooltipText]]</paper-tooltip>
<template is="dom-if" if="[[shouldShow(noSpinner)]]">
<paper-spinner active=[[active]]></paper-spinner>
</template>
</div>
rhodecode-toggle: stub for new UI element
r715 </template>
<script src="rhodecode-toggle.js"></script>
components: completed rhodecode-toggle for notification settings
r727 </dom-module>