Commit b25105da authored by Leo Iannacone's avatar Leo Iannacone

hard-coded exclution of datestamp and json instead via css

parent b912fe34
...@@ -18,6 +18,8 @@ function __get_files_list_from_package(data, callback) { ...@@ -18,6 +18,8 @@ function __get_files_list_from_package(data, callback) {
file.orig_name = f; file.orig_name = f;
file.name = f.split('_')[0]; file.name = f.split('_')[0];
file.extension = f.split('.').pop(); file.extension = f.split('.').pop();
if (config.debomatic.excluded_files.indexOf(file.extension) >= 0)
return;
if (file.extension == 'deb' || file.extension == 'ddeb' || file.extension == 'udeb') { if (file.extension == 'deb' || file.extension == 'ddeb' || file.extension == 'udeb') {
data.package.debs.push(file); data.package.debs.push(file);
} else if (f.indexOf('.tar') >= 0 || file.extension == 'changes' || file.extension == 'dsc') { } else if (f.indexOf('.tar') >= 0 || file.extension == 'changes' || file.extension == 'dsc') {
......
...@@ -70,6 +70,8 @@ config.web.preferences.debug = 0; // debug level - 0 means disabled ...@@ -70,6 +70,8 @@ config.web.preferences.debug = 0; // debug level - 0 means disabled
config.version = '0.5.1'; config.version = '0.5.1';
config.debomatic.excluded_files = ['datestamp', 'json'];
config.events = {}; config.events = {};
config.events.error = 'server-error'; config.events.error = 'server-error';
config.events.broadcast = {}; config.events.broadcast = {};
......
...@@ -169,10 +169,6 @@ footer .info { ...@@ -169,10 +169,6 @@ footer .info {
display: none; display: none;
} }
#files li[id$='datestamp'] {
display: none;
}
#preferences .select label { #preferences .select label {
font-weight: normal; font-weight: normal;
line-height: 35px; line-height: 35px;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment