https://src.bluestatic.org
/
bugdar.git
/ blob
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Start writing a new settings page based on hoplite.
[bugdar.git]
/
static
/
admin.js
1
angular
.
module
(
'bugdar.admin.settings'
, [])
2
.
directive
(
'yesno'
, [
'$templateCache'
,
function
($
templateCache
) {
3
return
{
4
restrict
:
'A'
,
5
replace
:
false
,
6
template
: $
templateCache
.
get
(
'-/admin/settings/yesno.tpl'
),
7
scope
: {
8
title
:
'@'
,
9
description
:
'@'
,
10
name
:
'@'
,
11
value
:
'@'
12
}
13
};
14
}]);