diff --git a/zerobin/paste.py b/zerobin/paste.py index 5662332..2a31bc6 100644 --- a/zerobin/paste.py +++ b/zerobin/paste.py @@ -24,6 +24,7 @@ class Paste(object): DURATIONS = { '1_day': 24 * 3600, '1_month': 30 * 24 * 3600, + '1_year': 365 * 24 * 3600, 'never': 365 * 24 * 3600 * 100, } diff --git a/zerobin/views/404.tpl b/zerobin/views/404.tpl index 6e4dd4b..f226ac1 100644 --- a/zerobin/views/404.tpl +++ b/zerobin/views/404.tpl @@ -22,6 +22,7 @@ + @@ -37,4 +38,4 @@ -% rebase('base', settings=settings, pastes_count=pastes_count) \ No newline at end of file +% rebase('base', settings=settings, pastes_count=pastes_count) diff --git a/zerobin/views/home.tpl b/zerobin/views/home.tpl index bb6beaa..978bd6c 100644 --- a/zerobin/views/home.tpl +++ b/zerobin/views/home.tpl @@ -10,6 +10,7 @@ + diff --git a/zerobin/views/paste.tpl b/zerobin/views/paste.tpl index 7ade2fc..3482480 100644 --- a/zerobin/views/paste.tpl +++ b/zerobin/views/paste.tpl @@ -66,6 +66,7 @@ +