This commit is contained in:
theinterned 2011-01-07 16:49:22 -05:00
Родитель 583378b7a5
Коммит a66338e17b
2 изменённых файлов: 19 добавлений и 8 удалений

Просмотреть файл

@ -184,7 +184,7 @@ label {
font-size: 12px; font-size: 12px;
line-height: 1.5; line-height: 1.5;
color: #262626; color: #262626;
} }
input[type="text"], input[type="text"],
input[type="email"], input[type="email"],
input[type="password"], input[type="password"],
@ -1113,6 +1113,11 @@ header {}
width: 742px; width: 742px;
padding: 18px; padding: 18px;
} }
.modal h2{
font-size: 16px;
line-height: 1.4;
margin-bottom: 1.4em;
}
.modal .buttons{ .modal .buttons{
position: absolute; position: absolute;
top: 18px; right: 18px; top: 18px; right: 18px;

Просмотреть файл

@ -20,20 +20,26 @@
</nav> </nav>
<fieldset> <fieldset>
<legend>{{ _('Send me an email when...') }}</legend> <h2>{{ _('Send me an email when...') }}</h2>
<form action="{% locale_url preferences_settings %}" method="post"> <form action="{% locale_url preferences_settings %}" method="post">
{% csrf_token %} {% csrf_token %}
<p> <p>
<input type="checkbox" id="id_no_email_message_received" name="no_email_message_received" {% if no_email_message_received %}checked="checked"{% endif %} /> <label for="id_no_email_message_received">
<label for="id_no_email_message_received">{{ _('A user messages me on drumbeat.org.') }}</label> <input type="checkbox" id="id_no_email_message_received" name="no_email_message_received" {% if no_email_message_received %}checked="checked"{% endif %} />
{{ _('A user messages me on drumbeat.org.') }}
</label>
</p> </p>
<p> <p>
<input type="checkbox" id="id_no_email_new_follower" name="no_email_new_follower" {% if no_email_new_follower %}checked="checked"{% endif %} /> <label for="id_no_email_new_follower">
<label for="id_no_email_new_follower">{{ _('Someone starts following me.') }}</label> <input type="checkbox" id="id_no_email_new_follower" name="no_email_new_follower" {% if no_email_new_follower %}checked="checked"{% endif %} />
{{ _('Someone starts following me.') }}
</label>
</p> </p>
<p> <p>
<input type="checkbox" id="id_no_email_new_project_follower" name="no_email_new_project_follower" {% if no_email_new_project_follower %}checked="checked"{% endif %} /> <label for="id_no_email_new_project_follower">
<label for="id_no_email_new_project_follower">{{ _('Someone starts following one of my projects.') }}</label> <input type="checkbox" id="id_no_email_new_project_follower" name="no_email_new_project_follower" {% if no_email_new_project_follower %}checked="checked"{% endif %} />
{{ _('Someone starts following one of my projects.') }}
</label>
</p> </p>
<p class="buttons"> <p class="buttons">
<a class="button" href="{% locale_url dashboard_index %}">{{ _('Cancel') }}</a> <a class="button" href="{% locale_url dashboard_index %}">{{ _('Cancel') }}</a>