comparison sat_website/screenshots.py @ 83:3d04a955bec4

add membership campaign's video (for now ogv, will eventually change to webm)
author souliane <souliane@mailoo.org>
date Mon, 15 Jun 2015 13:52:10 +0200
parents e44ec327ba4c
children d59bc45f83ca
comparison
equal deleted inserted replaced
82:ed78e205bec3 83:3d04a955bec4
26 26
27 ImageDesc = namedtuple("ImageDesc", "path description data") 27 ImageDesc = namedtuple("ImageDesc", "path description data")
28 VideoDesc = namedtuple("VideoDesc", "path description poster data") 28 VideoDesc = namedtuple("VideoDesc", "path description poster data")
29 29
30 screencasts = os.path.join(settings.MEDIA_EXTERNAL_URL, "screencasts") + "/" 30 screencasts = os.path.join(settings.MEDIA_EXTERNAL_URL, "screencasts") + "/"
31 video = os.path.join(settings.MEDIA_EXTERNAL_URL, "video") + "/"
31 32
32 33
33 #list the pictures 34 #list the pictures
34 35
35 screenshots = [ 36 screenshots = [
37
38 # will use replace_language_tag filter for replacing {{LANGUAGE_CODE}}
39 VideoDesc(video + "libervia_adhesion_2015_{{LANGUAGE_CODE}}.ogv",
40 _(u"Membership campaign for Libervia"),
41 video + "posters/libervia_adhesion_2015.png",
42 {_(u"version"): "0.5", _(u"year"): "2015", _(u"language"): "{{LANGUAGE_CODE}}"}),
43
36 ImageDesc("images/screenshots/0.5/overview_libervia.png", _(u"Overview"), 44 ImageDesc("images/screenshots/0.5/overview_libervia.png", _(u"Overview"),
37 {_(u"frontend"): "libervia", _(u"version"): "0.5", _(u"year"): "2014"}), 45 {_(u"frontend"): "libervia", _(u"version"): "0.5", _(u"year"): "2014"}),
38 ImageDesc("images/screenshots/0.5/http_unsecure_warning.png", _(u"Optional security check"), 46 ImageDesc("images/screenshots/0.5/http_unsecure_warning.png", _(u"Optional security check"),
39 {_(u"frontend"): "libervia", _(u"version"): "0.5", _(u"year"): "2014"}), 47 {_(u"frontend"): "libervia", _(u"version"): "0.5", _(u"year"): "2014"}),
40 ImageDesc("images/screenshots/0.4/sat_wysiwyg.png", _(u"Rich text editor"), 48 ImageDesc("images/screenshots/0.4/sat_wysiwyg.png", _(u"Rich text editor"),