mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-20 13:23:20 -07:00
show a "no requests yet" message on the requests page (for each cateogory)
This commit is contained in:
parent
0b1a589a70
commit
14d1d279bb
2 changed files with 33 additions and 11 deletions
|
@ -1,4 +1,14 @@
|
|||
function generateNotify(message, type) {
|
||||
String.prototype.format = String.prototype.f = function () {
|
||||
var s = this,
|
||||
i = arguments.length;
|
||||
|
||||
while (i--) {
|
||||
s = s.replace(new RegExp('\\{' + i + '\\}', 'gm'), arguments[i]);
|
||||
}
|
||||
return s;
|
||||
}
|
||||
|
||||
function generateNotify(message, type) {
|
||||
// type = danger, warning, info, successs
|
||||
$.notify({
|
||||
// options
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue