Skip to content
This repository has been archived by the owner on Aug 26, 2022. It is now read-only.

Commit

Permalink
Rename to calendar.styl and remove legacy calendar
Browse files Browse the repository at this point in the history
  • Loading branch information
openjck committed Dec 17, 2013
1 parent b022e65 commit f7e7993
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 33 deletions.
6 changes: 1 addition & 5 deletions apps/devmo/templates/devmo/calendar.html
Expand Up @@ -4,11 +4,7 @@
{% block bodyclass %}section-community calendar{% endblock %}
{% block title %}{{ page_title(_('Where is Mozilla?')) }}{% endblock %}

{% if waffle.flag('redesign') %}
{% set styles = ('redesign-mdn-calendar',) %}
{% else %}
{% set styles = ('mdn-calendar',) %}
{% endif %}
{% set styles = ('calendar',) %}

{% block content %}

Expand Down
22 changes: 0 additions & 22 deletions media/css/mdn-calendar.css

This file was deleted.

2 changes: 1 addition & 1 deletion scripts/compile-stylesheets
Expand Up @@ -15,7 +15,7 @@ if [ ! -d "$CSSDIR" ]; then
mkdir $CSSDIR
fi

FILENAMES=(main wiki demo-studio profile search zones home wiki-syntax users noscript err404 promote sphinx dashboards diff mdn-calendar newsletter)
FILENAMES=(main wiki demo-studio profile search zones home wiki-syntax users noscript err404 promote sphinx dashboards diff calendar newsletter)
STYLESHEETS=$(printf "$STYLUSDIR/%s.styl " "${FILENAMES[@]}")
if [ $WATCH ]; then
echo Watching and automatically compiling stylesheets
Expand Down
7 changes: 2 additions & 5 deletions settings.py
Expand Up @@ -580,9 +580,6 @@ def JINJA_CONFIG():
'err404': (
'css/err404.css',
),
'mdn-calendar': (
'css/mdn-calendar.css',
),
'search': (
'redesign/css/search.css',
),
Expand Down Expand Up @@ -651,8 +648,8 @@ def JINJA_CONFIG():
'redesign-home': (
'redesign/css/home.css',
),
'redesign-mdn-calendar': (
'redesign/css/mdn-calendar.css',
'calendar': (
'redesign/css/calendar.css',
),
'redesign-profile': (
'redesign/css/profile.css',
Expand Down

0 comments on commit f7e7993

Please sign in to comment.