This website works better with JavaScript.
Home
Explore
Help
Sign In
ruhnet
/
monster-ui-voip
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
UI-2012: can now search by SIP Usernames in devices list of SmartPBX
4.3
Jean-Roch Maitre
9 years ago
parent
70408a6632
commit
e810383454
3 changed files
with
4 additions
and
3 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-1
submodules/devices/devices.js
+1
-1
views/devices-layout.html
+1
-1
views/devices-row.html
+ 2
- 1
submodules/devices/devices.js
View File
@ -892,7 +892,8 @@ define(function(require){
friendlyType
:
self
.
i18n
.
active
(
)
.
devices
.
types
[
device
.
device_type
]
,
registered
:
false
,
classStatus
:
device
.
enabled
?
'unregistered'
:
'disabled'
/* Display a device in black if it's disabled, otherwise, until we know whether it's registered or not, we set the color to red */
,
isRegistered
:
false
isRegistered
:
false
,
sipUserName
:
device
.
username
}
}
)
;
+ 1
- 1
views/devices-layout.html
View File
@ -24,7 +24,7 @@
<
span
class
=
"search-box pull-right"
>
<
i
class
=
"fa fa-search"
>
<
/
i
>
<
input
type
=
"text"
class
=
"search-query"
placeholder
=
"{{ i18n.search }}
...
"
>
<
/
input
>
<
input
type
=
"text"
class
=
"search-query"
placeholder
=
"{{ i18n.search }}"
>
<
/
input
>
<
/
span
>
<
/
div
>
+ 1
- 1
views/devices-row.html
View File
@ -1,4 +1,4 @@
<
div
class
=
"grid-row"
data-id
=
"{{id}}"
data-search
=
"{{userName}} {{friendlyType}} {{type}} {{name}} {{macAddress}}"
data-assigned
=
"{{isAssigned}}"
data-registered
=
"{{isRegistered}}"
>
<
div
class
=
"grid-row"
data-id
=
"{{id}}"
data-search
=
"{{userName}} {{friendlyType}} {{type}} {{name}} {{macAddress}}
{{sipUserName}}
"
data-assigned
=
"{{isAssigned}}"
data-registered
=
"{{isRegistered}}"
>
<
div
class
=
"devices-cells"
>
<
div
class
=
"type grid-cell centered {{classStatus}}"
>
<
div
class
=
"first-line"
>
Write
Preview
Loading…
Cancel
Save