Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
stepUP
Commits
f3a31f63
Commit
f3a31f63
authored
Nov 23, 2013
by
Ben Waters
Browse files
Merge branch 'master' of
https://github.com/jrouly/srct-vahack
parents
2574f32c
3ea7fa43
Changes
2
Hide whitespace changes
Inline
Side-by-side
hackathon/settings/templates/organization.html
View file @
f3a31f63
...
...
@@ -43,33 +43,6 @@
</div>
</div>
<div
class=
"row"
>
<div
class=
"col-md-6 text-left"
>
<h2>
Schedule of Availability
</h2>
{% if sunday > 2 %}
<p>
sunday: Available
</p>
{% endif %}
{% if monday > 2 %}
<p>
monday: Available
</p>
{% endif %}
{% if tuesday > 2 %}
<p>
tuesday: Available
</p>
{% endif %}
{% if wednesday > 2 %}
<p>
wednesday: Available
</p>
{% endif %}
{% if thursday > 2 %}
<p>
thursday: Available
</p>
{% endif %}
{% if friday > 2 %}
<p>
friday: Available
</p>
{% endif %}
{% if saturday > 2 %}
<p>
saturday: Available
</p>
{% endif %}
</div>
</div>
</div>
</div>
...
...
hackathon/stepup/views.py
View file @
f3a31f63
...
...
@@ -138,13 +138,6 @@ def organization(request, slug):
#"requested_tags" : Organization.objects.get(name=slug).tags.all(),
#"global_tags" : Tag.objects.all(),
"global_events"
:
Opportunity
.
objects
.
all
(),
"sunday"
:
len
(
Organization
.
objects
.
get
(
name
=
slug
).
sunday
),
"monday"
:
len
(
Organization
.
objects
.
get
(
name
=
slug
).
monday
),
"tuesday"
:
len
(
Organization
.
objects
.
get
(
name
=
slug
).
tuesday
),
"wednesday"
:
len
(
Organization
.
objects
.
get
(
name
=
slug
).
wednesday
),
"thursday"
:
len
(
Organization
.
objects
.
get
(
name
=
slug
).
thursday
),
"friday"
:
len
(
Organization
.
objects
.
get
(
name
=
slug
).
friday
),
"saturday"
:
len
(
Organization
.
objects
.
get
(
name
=
slug
).
saturday
),
},
context_instance
=
RequestContext
(
request
),
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment