Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Bug fixes.

  • Loading branch information...
commit bf279b0d7c91908da8be40b722fb0e30631fa672 1 parent 2325500
Andrey Antukh authored
4 README.rst
View
@@ -29,7 +29,7 @@ Developers How-To:
------------------
As a first step, download the latest version of the repository and follow the instructions::
-
+
git clone git://github.com/niwibe/Green-Mine.git greenmine
cd greenmine/src
python manage.py migrate greenmine 0001 --fake
@@ -41,7 +41,7 @@ The ``development_users`` fixture, by default inserts two users: ``andrei`` and
have superuser flag set to ``True`` and password is ``123123``.
For run tests::
-
+
python manage.py test -v2 greenmine
4 src/greenmine/models.py
View
@@ -809,8 +809,8 @@ def to_dict(self):
'statusDisplay': self.get_status_display(),
'status': self.status,
'fakeStatus': self.fake_status,
- 'us': self.user_story.pk,
- 'assignedTo': self.assigned_to and self.assigned_to.pk or "",
+ 'us': self.user_story and self.user_story.pk or None,
+ 'assignedTo': self.assigned_to and self.assigned_to.pk or None,
}
return self_dict
2  src/greenmine/static/js/bb/login.js
View
@@ -7,7 +7,7 @@ var LoginView = Backbone.View.extend({
initialize: function() {
_.bindAll(this, 'onFormSubmit', 'onSubmitSuccess');
- this.form = new Form({el:this.$("form")});
+ this.form = new Kaleidos.Form({el:this.$("form")});
},
onFormSubmit: function(event) {
8 src/greenmine/templates/dot/task-include.html
View
@@ -1,15 +1,15 @@
<script type="template/dot" id="task-template">
<div class="row title">
- <span><a href="{{=it.view_url }}">{{=it.subject }}</a></span>
+ <span><a href="{{=it.viewUrl }}">{{=it.subject }}</a></span>
</div>
<div class="row status">
<span>{{=it.status }}</span>
</div>
<div class="row milestone">
- <span><a href="">{{=it.assigned_to }}</a></span>
+ <span><a href="">{{=it.assignedTo }}</a></span>
</div>
<div class="row metaicon">
- <img class="delete" src="/static/imgs/close-icon.png"
- deleteurl="{{=it.delete_url }}"></img>
+ <img class="delete" src="/static/imgs/close-icon.png"
+ deleteurl="{{=it.deleteUrl }}"></img>
</div>
</script>
6 src/greenmine/templates/login.html
View
@@ -1,4 +1,4 @@
-{% extends "base_base.html" %}
+{% extends "base.html" %}
{% load static %}
{% load url from future %}
{% load i18n %}
@@ -17,7 +17,6 @@
<label>{{ form.password.label }}</label>
{{ form.password }}
</div>
-
<p class="forgot-pass">
<a href="{% url 'remember-password' %}">{% trans "Forgot your password?" %}</a>
{% if not register_disabled %}
@@ -25,10 +24,9 @@
<a id="open-forgotten-password-form" href="{% url 'register' %}">{% trans "Register" %}</a>
{% endif %}
</p>
-
<div class="form-field">
<input class="btn01" type="submit" value="{% trans "Login" %}" />
- <span class="ajax-loader"></span>
+ <span class="ajax-loader"></span>
</div>
</fieldset>
</form>
Please sign in to comment.
Something went wrong with that request. Please try again.