Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds i18n tag to all templates. #883

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions project/webapp/templates/account.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% load i18n %}
<!doctype html>

<head>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% load i18n %}
{% load staticfiles %}
<link type="text/css" rel="stylesheet/less" href="{% static "less/base.less" %}"/>
<link type="text/css" rel="stylesheet/less" href="{% static "less/utils.less" %}"/>
Expand Down
1 change: 1 addition & 0 deletions project/webapp/templates/base/less_headers/feed_less.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% load i18n %}
{% load staticfiles %}
<link type="text/css" rel="stylesheet/less" href="{% static "less/base.less" %}"/>
<link type="text/css" rel="stylesheet/less" href="{% static "less/utils.less" %}"/>
Expand Down
1 change: 1 addition & 0 deletions project/webapp/templates/base/less_headers/login_less.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% load i18n %}
{% load staticfiles %}
<link type="text/css" rel="stylesheet/less" href="{% static "less/base.less" %}"/>
<link type="text/css" rel="stylesheet/less" href="{% static "less/login.less" %}"/>
Expand Down
1 change: 1 addition & 0 deletions project/webapp/templates/base/less_headers/setup_less.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% load i18n %}
{% load staticfiles %}
<link type="text/css" rel="stylesheet/less" href="{% static "less/base.less" %}"/>
<link type="text/css" rel="stylesheet/less" href="{% static "less/utils.less" %}"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% load i18n %}
{% load staticfiles %}
<link type="text/css" rel="stylesheet/less" href="{% static "less/base.less" %}"/>
<link type="text/css" rel="stylesheet/less" href="{% static "less/utils.less" %}"/>
Expand Down
1 change: 1 addition & 0 deletions project/webapp/templates/base/links.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% load i18n %}
{% load staticfiles %}
{% csrf_token %}
<meta name="google-site-verification" content="QekFwH1-88aQFx0rSPRCUTnJBrvpn0yHw4CR0okzHek" />
Expand Down
1 change: 1 addition & 0 deletions project/webapp/templates/beta_blocker.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<!--This is what the beta page would look like (it doesn't have full functionality) if it's a separate page-->
{% load i18n %}
<!doctype html>
<html>
<head>
Expand Down
1 change: 1 addition & 0 deletions project/webapp/templates/beta_register.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% load i18n %}
<!doctype html>

<head>
Expand Down
1 change: 1 addition & 0 deletions project/webapp/templates/email/base_email_template.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% load i18n %}
<!DOCTYPE html>
<html lang="en">
<head>
Expand Down
1 change: 1 addition & 0 deletions project/webapp/templates/feed.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% load i18n %}
<!doctype html>

<head>
Expand Down
1 change: 1 addition & 0 deletions project/webapp/templates/general-message.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% load i18n %}
<!doctype html>
<html>
<head>
Expand Down
1 change: 1 addition & 0 deletions project/webapp/templates/invite.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% load i18n %}
<!DOCTYPE html>
<html lang="en">
<head>
Expand Down
1 change: 1 addition & 0 deletions project/webapp/templates/login.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% load i18n %}
<!doctype html>
<html>
<head>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@

{% load i18n %}
<div class="account-base">

<div class="row content">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<!-- TODO: Content swipes up for edit functions -->
{% load i18n %}
<div class="account-edit scroll-col">
<div class="section">
<div class="section">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% load i18n %}
{% verbatim %}
<div class="profile-image">
<div class="big-image-cropper z-depth-1">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% load i18n %}
{% verbatim %}
<div class="people scroll">
<div class="row tab-title">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% load i18n %}
{% verbatim %}
<div class="people scroll">
<div class="row tab-title">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% load i18n %}
{% verbatim %}
<div class="profile-my-bills-list">
<div class="row tab-title">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% load i18n %}
{% verbatim %}
<div class="profile-civi-list col s12">
<div class="row tab-title">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% load i18n %}
{% verbatim %}
<div class="row tab-title">
<div class="col s12 title-lato">Issues I care about</div>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% load i18n %}
{% verbatim %}
<div class="card">
<div class="card-content">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% load i18n %}
{% verbatim %}
<!-- <div class="civi-cover">
<div class="card cover-content">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% load i18n %}
{% verbatim %}
<div class="card" id="issue-{{thread_id}}">
<div class="card-content">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% load i18n %}
{% verbatim %}
<div class="col s6 m3">
<div class="card">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% load i18n %}
{% verbatim %}
<div class="user-card card" id="usercard-{{username}}" data-username="{{username}}">
<div class="top">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% load i18n %}
{% verbatim %}
<div class="user-chip chip white" >
<div class="user-chip-contents" id="userchip-{{username}}" data-username="{{username}}">
Expand Down
1 change: 1 addition & 0 deletions project/webapp/templates/partials/feed/categories.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% load i18n %}
{% verbatim %}
<div class="modal categories-modal modal-fixed-footer">
<div class="modal-content">
Expand Down
1 change: 1 addition & 0 deletions project/webapp/templates/partials/feed/feed_base.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% load i18n %}
{% verbatim %}
<nav class="feed-nav">
<div class="nav-wrapper">
Expand Down
1 change: 1 addition & 0 deletions project/webapp/templates/partials/feed/feed_list.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% load i18n %}
{% verbatim %}
{{# if (threads.length > 0) { }}
{{# _.each(threads, function (t) {}}
Expand Down
1 change: 1 addition & 0 deletions project/webapp/templates/partials/feed/new_thread.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% load i18n %}
{% verbatim %}
<div class="modal new-thread-modal">
<div class="modal-content">
Expand Down
1 change: 1 addition & 0 deletions project/webapp/templates/partials/feed/thread_card.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% load i18n %}
{% verbatim %}
<div class="">
<div class="row issue-item">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% load i18n %}
<div class="container register-wrapper">
<div class="title-block">
<div class="title-lato">Beta Registration</div>
Expand Down
1 change: 1 addition & 0 deletions project/webapp/templates/partials/login/entry_base.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% load i18n %}
{% load staticfiles %}

<div class="entry-base center-align valign-wrapper">
Expand Down
1 change: 1 addition & 0 deletions project/webapp/templates/partials/login/login_base.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% load i18n %}
<div class="container login-wrapper">
<div class="title-block">
<div class="title-lato">Log in</div>
Expand Down
1 change: 1 addition & 0 deletions project/webapp/templates/partials/login/register_base.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% load i18n %}
<div class="container register-wrapper">
<div class="title-block">
<div class="title-lato">Register</div>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% load i18n %}
{% verbatim %}
{{# if (notification.length > 0) { }}
<div class="container">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% load i18n %}
{% verbatim %}
<div class="notification-item">
<span class="link-lato gray-text">{{time}}</span>
Expand Down
1 change: 1 addition & 0 deletions project/webapp/templates/partials/thread/edit_thread.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% load i18n %}
{% verbatim %}
<div class="modal edit-thread-modal">
<div class="modal-content">
Expand Down
1 change: 1 addition & 0 deletions project/webapp/templates/partials/thread/edit_wiki.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% load i18n %}
{% verbatim %}
<div class="thread-wiki">
<div class="wiki-banner">
Expand Down
2 changes: 1 addition & 1 deletion project/webapp/templates/partials/thread/new_civi.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@

{% load i18n %}
<div class="new-civi-card">
<div class="row civi-header">
<div class="link-lato center">ADD A NEW CIVI</div>
Expand Down
1 change: 1 addition & 0 deletions project/webapp/templates/partials/thread/new_response.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% load i18n %}
{% verbatim %}
<div class="new-civi-card">
<div class="row civi-header">
Expand Down
1 change: 1 addition & 0 deletions project/webapp/templates/partials/thread/thread_base.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% load i18n %}
{% verbatim %}
<div class="row" style="margin: 0;">
<div class="col s12 thread-wiki-holder"></div>
Expand Down
1 change: 1 addition & 0 deletions project/webapp/templates/partials/thread/thread_body.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% load i18n %}
{% verbatim %}
<div class="thread-body">
<nav class="thread-nav body-banner"></nav>
Expand Down
1 change: 1 addition & 0 deletions project/webapp/templates/partials/thread/thread_nav.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% load i18n %}
{% verbatim %}
<div class="nav-wrapper">
<div class="nav-categories nav-item">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% load i18n %}
{% verbatim %}
{{# if (!is_draft) { }}
<div class="civi-switch center">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% load i18n %}
{% verbatim %}
<div class="center section">
<div class="section">
Expand Down
1 change: 1 addition & 0 deletions project/webapp/templates/partials/thread/thread_wiki.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% load i18n %}
{% verbatim %}
<div class="thread-wiki">
<div class="wiki-banner">
Expand Down
1 change: 1 addition & 0 deletions project/webapp/templates/partials/user-setup/step0.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% load i18n %}
{% load staticfiles %}
<div class="step0">
<div class="card">
Expand Down
1 change: 1 addition & 0 deletions project/webapp/templates/partials/user-setup/step1.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<!-- Register Step 1: Personalize account-->
{% load i18n %}
<div class="step1">
<div class="card">
<div class="card-content">
Expand Down
1 change: 1 addition & 0 deletions project/webapp/templates/partials/user-setup/step2.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% load i18n %}
<div class="step2">
<div class="card">
<div class="card-content">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% load i18n %}
<main class="section">
<div class="section container">
<!-- TODO: Welcome screen -->
Expand Down
1 change: 1 addition & 0 deletions project/webapp/templates/partials/utils/civi.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% load i18n %}
{% verbatim %}
<!-- TODO: Move out editing features -->
<div class="civi-card" id="civi-{{this.model.get('id')}}" data-civi-id="{{this.model.get('id')}}" data-civi-links="{{this.model.get('links')}}">
Expand Down
1 change: 1 addition & 0 deletions project/webapp/templates/partials/utils/global_nav.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% load i18n %}
{% load notifications_tags %}
{% load static %}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% load i18n %}
{% verbatim %}
<div class="profile-button-outer">
<a href="/profile/{{c.username}}" class="profile-button btn btn-large btn-floating profile-button transparent" style="background-image: url('{{c.profile_image}}'); background-size: 40px;"></a>
Expand Down
1 change: 1 addition & 0 deletions project/webapp/templates/partials/utils/response.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% load i18n %}
{% verbatim %}
<div class="civi-card" data-civi-id="{{id}}">
<div class="row civi-header response-click">
Expand Down
3 changes: 2 additions & 1 deletion project/webapp/templates/static_templates/about.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<!DOCTYPE HTML>
{% load i18n %}
<!DOCTYPE HTML>
<!-- About -->
<head>
{% load staticfiles %}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% load i18n %}
<!DOCTYPE HTML>
<!-- How it Works -->
<head>
Expand Down
1 change: 1 addition & 0 deletions project/webapp/templates/static_templates/landing.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% load i18n %}
<!DOCTYPE HTML>
<!-- Landing Page -->
<html>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% load i18n %}
<!-- Footer for static pages -->
{% load staticfiles %}

Expand Down
1 change: 1 addition & 0 deletions project/webapp/templates/static_templates/static_nav.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<!-- Navbar for static pages -->
{% load i18n %}
{% load staticfiles %}

<nav class="static-nav transparent">
Expand Down
1 change: 1 addition & 0 deletions project/webapp/templates/static_templates/support_us.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% load i18n %}
<!DOCTYPE HTML>
<!-- Support Us -->
<html>
Expand Down
1 change: 1 addition & 0 deletions project/webapp/templates/thread.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% load i18n %}
<!doctype html>

<head>
Expand Down
1 change: 1 addition & 0 deletions project/webapp/templates/user-setup.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% load i18n %}
<!doctype html>
<html>
<head>
Expand Down