Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
steering
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AURA
steering
Commits
9ab0c5c4
Commit
9ab0c5c4
authored
14 years ago
by
Johannes Raggam
Browse files
Options
Downloads
Patches
Plain Diff
plone style portlets
parent
a3f9af7e
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
helsinki/program/templates/program/current_box.html
+16
-15
16 additions, 15 deletions
helsinki/program/templates/program/current_box.html
helsinki/program/templates/program/recommendations_box.html
+5
-3
5 additions, 3 deletions
helsinki/program/templates/program/recommendations_box.html
with
21 additions
and
18 deletions
helsinki/program/templates/program/current_box.html
+
16
−
15
View file @
9ab0c5c4
<!doctype html>
<html>
<head>
<title>
Current program box
</title>
<link
href=
"/site_media/styles/base.css"
media=
"screen"
rel=
"stylesheet"
type=
"text/css"
/>
<meta
charset=
"utf-8"
/>
<title>
Current program box
</title>
<link
href=
"/site_media/styles/base.css"
media=
"screen"
rel=
"stylesheet"
type=
"text/css"
/>
</head>
<body>
<div
id=
"current"
>
<d
iv
id=
"current-title"
>
Programm derzeit
</div
>
<d
iv
id=
"
current-timeslot"
>
{% if current or next or after_next %}
<d
l
class=
"portlet program-current"
>
<dt
class=
"portletHeader"
>
Programm derzeit
</dt>
<d
d
class=
"portletItem
current-timeslot"
>
<div
class=
"start"
>
{{ current.start|date:"H:i" }}
</div>
<div
class=
"show {{ current.show.broadcastformat.slug }}"
>
<div
class=
"name"
><a
href=
"{% url timeslot-detail current.id %}"
>
{{ current.show.name }}
</a></div>
...
...
@@ -18,22 +20,21 @@
<div
class=
"short-description"
>
{{ current.show.short_description }}
</div>
{% endif %}
</div>
</div>
<div
id=
"next-timeslot"
>
</dd>
<dd
class=
"portletItem next-timeslot"
>
<div
class=
"start"
>
{{ next.start|date:"H:i" }}
</div>
<div
class=
"show {{ next.show.broadcastformat.slug }}"
>
<div
class=
"name"
><a
href=
"{% url timeslot-detail next.id %}"
>
{{ next.show.name }}
</a></div>
</div>
</div>
<div
id=
"after-next-timeslot"
>
</dd>
<dd
class=
"portletItem next-timeslot"
>
<div
class=
"start"
>
{{ after_next.start|date:"H:i" }}
</div>
<div
class=
"show {{ after_next.show.broadcastformat.slug }}"
>
<div
class=
"name"
><a
href=
"{% url timeslot-detail after_next.id %}"
>
{{ after_next.show.name }}
</div></a>
</div>
</div>
</div>
</dd>
</dl>
{% endif %}
</body>
</html>
\ No newline at end of file
</html>
This diff is collapsed.
Click to expand it.
helsinki/program/templates/program/recommendations_box.html
+
5
−
3
View file @
9ab0c5c4
...
...
@@ -6,15 +6,17 @@
<link
href=
"/site_media/styles/base.css"
media=
"screen"
rel=
"stylesheet"
type=
"text/css"
/>
</head>
<body>
<dl
id=
"recommendations"
class=
"portlet"
>
<dt
id=
"recommendations-title"
class=
"portletHeader"
>
Programmhinweise
</dt>
{% if recommendations %}
<dl
id=
"recommendations"
class=
"portlet program-recommendations"
>
<dt
class=
"portletHeader"
>
Programmhinweise
</dt>
{% for recommendation in recommendations %}
<dd
class=
"portletItem recommendation {{ recommendation.show.broadcastformat.slug }}"
>
<dd
class=
"portletItem
program-
recommendation {{ recommendation.show.broadcastformat.slug }}"
>
<h3
class=
"show-name"
><a
href=
"{% url show-detail recommendation.show.slug %}"
>
{{ recommendation.show.name }}
</a></h3>
<p
class=
"timeslot-start-end"
>
{{ recommendation.timeslot.start|date:"d.m. H:i" }}-{{ recommendation.timeslot.end|date:"H:i" }}
</p>
<p
class=
"note-title"
><a
href=
"{% url timeslot-detail recommendation.timeslot.id %}"
>
{{ recommendation.title }}
</a></p>
</dd>
{% endfor %}
</dl>
{% endif %}
</body>
</html>
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment