date format
authorRadek Czajka <radoslaw.czajka@nowoczesnapolska.org.pl>
Tue, 28 Aug 2012 14:07:44 +0000 (16:07 +0200)
committerRadek Czajka <radoslaw.czajka@nowoczesnapolska.org.pl>
Tue, 28 Aug 2012 14:07:44 +0000 (16:07 +0200)
prawokultury/formats/__init__.py [new file with mode: 0755]
prawokultury/formats/pl/__init__.py [new file with mode: 0755]
prawokultury/formats/pl/formats.py [new file with mode: 0755]
prawokultury/settings.d/30-locale.conf
prawokultury/static/css/sidebar.css
prawokultury/static/css/sidebar.scss

diff --git a/prawokultury/formats/__init__.py b/prawokultury/formats/__init__.py
new file mode 100755 (executable)
index 0000000..e69de29
diff --git a/prawokultury/formats/pl/__init__.py b/prawokultury/formats/pl/__init__.py
new file mode 100755 (executable)
index 0000000..e69de29
diff --git a/prawokultury/formats/pl/formats.py b/prawokultury/formats/pl/formats.py
new file mode 100755 (executable)
index 0000000..7e50a96
--- /dev/null
@@ -0,0 +1 @@
+DATETIME_FORMAT = "j E Y H:i"
index f78e452..f716b1f 100755 (executable)
@@ -32,3 +32,5 @@ USE_L10N = True
 
 # If you set this to False, Django will not use timezone-aware datetimes.
 USE_TZ = False
 
 # If you set this to False, Django will not use timezone-aware datetimes.
 USE_TZ = False
+
+FORMAT_MODULE_PATH = "prawokultury.formats"
index 0bc8a60..221b3f4 100644 (file)
@@ -30,8 +30,7 @@
       width: 5em;
       height: 4.8em;
       border-radius: .5em;
       width: 5em;
       height: 4.8em;
       border-radius: .5em;
-      text-align: center;
-      margin-right: 1em; }
+      text-align: center; }
       .sidebar-box .event-list .date .day {
         font-size: 2.4em;
         font-style: italic; }
       .sidebar-box .event-list .date .day {
         font-size: 2.4em;
         font-style: italic; }
@@ -40,7 +39,8 @@
         text-transform: uppercase;
         margin-top: -0.3em; }
     .sidebar-box .event-list .description {
         text-transform: uppercase;
         margin-top: -0.3em; }
     .sidebar-box .event-list .description {
-      font-size: 1.1em; }
+      font-size: 1.1em;
+      margin-left: 5.5em; }
 
 #sidebar-box-categories ul {
   width: 50%;
 
 #sidebar-box-categories ul {
   width: 50%;
index 2ff8674..1846454 100755 (executable)
@@ -43,7 +43,6 @@
             height: 4.8em;
             border-radius: .5em;
             text-align: center;
             height: 4.8em;
             border-radius: .5em;
             text-align: center;
-            margin-right: 1em;
 
             .day {
                 font-size: 2.4em;
 
             .day {
                 font-size: 2.4em;
@@ -58,6 +57,7 @@
 
         .description {
             font-size: 1.1em;
 
         .description {
             font-size: 1.1em;
+            margin-left: 5.5em;
         }
     }
 }
         }
     }
 }