show a "no requests yet" message on the requests page (for each cateogory)

This commit is contained in:
Drewster727 2016-03-30 17:38:09 -05:00
commit 14d1d279bb
2 changed files with 33 additions and 11 deletions

View file

@ -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