diff --git a/accounts/templates/account.html b/accounts/templates/account.html index 9194e4a..dd82760 100644 --- a/accounts/templates/account.html +++ b/accounts/templates/account.html @@ -20,11 +20,10 @@
  • Change password
  • - -
  • +
  • Blogging
  • -
  • +
  • Editor
  • diff --git a/accounts/views.py b/accounts/views.py index a75415c..f4ba56d 100644 --- a/accounts/views.py +++ b/accounts/views.py @@ -12,9 +12,6 @@ def account(request): @render_to('stats.html') def stats(request): - if not request.user.profile.is_pro: - return HttpResponseRedirect('/pro/') - snipts = Snipt.objects.filter(user=request.user).order_by('-views') return { diff --git a/blogs/templates/blogs/themes/default/base.html b/blogs/templates/blogs/themes/default/base.html index 24b8420..1f49c49 100644 --- a/blogs/templates/blogs/themes/default/base.html +++ b/blogs/templates/blogs/themes/default/base.html @@ -19,13 +19,13 @@ {% block js %} {{ block.super }} window.blog_post = true; - {% if blog_user.profile.is_pro and blog_user.profile.gittip_username %} + {% if blog_user.profile.gittip_username %} window.gittip_username = '{{ blog_user.profile.gittip_username }}'; {% endif %} {% endblock %} {% block css %} - {% if blog_user.profile.is_pro and custom_css %} + {% if custom_css %} @@ -68,7 +68,7 @@ {{ sidebar.stylized|safe }} {% endif %} - {% if blog_user.profile.is_pro and blog_user.profile.google_ad_client %} + {% if blog_user.profile.google_ad_client %} - <% if (window.user_is_pro) { %> -
    -

    Pro settings change defaults

    -

    F11 or Cmd+Enter toggles fullscreen mode

    - - - - -
    - <% } %> +
    +

    Editor settings change defaults

    +

    F11 or Cmd+Enter toggles fullscreen mode

    + + + + +
    diff --git a/snipts/templates/snipts/snipt-js-template.html b/snipts/templates/snipts/snipt-js-template.html index 731e11a..6095e10 100644 --- a/snipts/templates/snipts/snipt-js-template.html +++ b/snipts/templates/snipts/snipt-js-template.html @@ -60,14 +60,12 @@ <% } %> - <% if (snipt.user.profile.is_pro) { %> -
    - -
    - <% } %> +
    + +