Commit Graph

257 Commits

Author SHA1 Message Date
kez
68d5350db7 Fix training guide font size 2023-01-12 15:50:27 +00:00
kez
e1cc3dbcd2 Fix header font weight 2023-01-12 15:50:27 +00:00
kez
3721db6548 Fix resource table spacing 2023-01-12 15:50:27 +00:00
kez
e795eb788f Decrease the font size of the training guide table 2023-01-12 15:50:27 +00:00
kez
c5167202ac Remove image from training guide pages 2023-01-12 15:50:27 +00:00
kez
29c33439dd Add parentheses around "None" in dropdowns 2023-01-12 15:50:27 +00:00
kez
c93a1a2792 Add padding to dropdown 2023-01-12 15:50:27 +00:00
kez
806ba76922 Add "clear filters" button 2023-01-12 15:50:27 +00:00
kez
2da099efd8 Fix card header width 2023-01-12 15:50:27 +00:00
kez
8a019d7b5d Sort the resource filter dropdowns alphabetically 2023-01-12 15:50:27 +00:00
kez
f26127a89e Fix sidenav 2023-01-12 15:50:27 +00:00
kez
3d3b98a1d0 Fix indenting 2023-01-12 15:50:27 +00:00
kez
773f60a8ad Remove "apply filters" button 2023-01-12 15:50:27 +00:00
kez
4e2e0631c9 Finish history handling for js sorting 2023-01-12 15:50:27 +00:00
kez
12b5ddeb3f Fix whitespace caused by jinja templating 2023-01-12 15:50:27 +00:00
kez
d96b7f54b4 Fix js sorting 2023-01-12 15:50:27 +00:00
kez
8d6f269de0 Split resource list macro for readability 2023-01-12 15:50:27 +00:00
kez
e0a6461045 Finish js filtering 2023-01-12 15:50:27 +00:00
kez
c3e64e73bb Completely rework no-js filtering. it works now. 2023-01-12 15:50:27 +00:00
kez
748cc8ef9d beginnings of js filtering 2023-01-12 15:50:27 +00:00
kez
157f9261d4 Use bootstrap dropdowns for js-free sorting 2023-01-12 15:50:27 +00:00
kez
929f9cd6fb Implement sorting resources by topic
!fixup! fix topics implementation

Add empty topics list to resources databag
2023-01-12 15:50:27 +00:00
kez
b619029523 Implement author sorting
fixup: change author to maintained by
2023-01-12 15:50:27 +00:00
kez
84630355f2 Polish up language filtering 2023-01-12 15:50:27 +00:00
kez
95912525f0 Finish proof-of-concept language filter 2023-01-12 15:50:27 +00:00
kez
43a3921c0c fix padding in training guide mobile layout 2023-01-12 15:50:27 +00:00
kez
1e06b1364d fix mobile layout for resources page 2023-01-12 15:50:27 +00:00
kez
d168eede8c Finish moving training guide to columns
The padding and additional styling still need tweaking, but the main layout is done
2023-01-12 15:50:27 +00:00
kez
aae1c13329 Begin the move to columns and mobile layout for training guides 2023-01-12 15:50:27 +00:00
kez
a93749100f Progress on mobile layout
still left for mobile: padding, button placement
2023-01-12 15:50:27 +00:00
kez
4988c27b17 refactor desktop layout to use columns 2023-01-12 15:50:27 +00:00
kez
e5bcb002e0 Remove pagination, fix padding 2023-01-12 15:50:27 +00:00
kez
f460054b43 Fix padding, fix "Join the Conversation" footer 2023-01-12 15:50:27 +00:00
kez
f5f7f3e311 Fix font weight on headings 2023-01-12 15:50:27 +00:00
kez
5662fdc672 Rename .gap-10-px class 2023-01-12 15:50:27 +00:00
kez
ecf6f4cb41 Move pathbar CSS to SCSS file 2023-01-12 15:50:27 +00:00
kez
667e3345e2 Rename resource-detail template to be more correct 2023-01-12 15:50:27 +00:00
kez
e79e0d3c83 Add sample slides element 2023-01-12 15:50:27 +00:00
kez
dd8d70ceff Fix trainer guide date 2023-01-12 15:50:27 +00:00
kez
d449f1c5bd Add pathbar to resource training guides 2023-01-12 15:50:27 +00:00
kez
18c74ddf01 Update the training guide detail view 2023-01-12 15:50:27 +00:00
kez
50bdfb8b7b Change all the training resources back to a databag 2023-01-12 15:50:27 +00:00
kez
67d83549bf Create trainer's guide pages 2023-01-12 15:50:27 +00:00
kez
c35e4fc7fc Link to the resource page, not the file 2023-01-12 15:50:27 +00:00
kez
19bad87633 Conditionally add links to trainer guides 2023-01-12 15:50:27 +00:00
kez
fd3aeaccfb Add updated date to resource cards 2023-01-12 15:50:27 +00:00
kez
601bcc49c8 Fix span overlap issues, image align 2023-01-12 15:50:27 +00:00
kez
d9c123990f Use idiomatic pagination component
styleguide.tpo includes a pagination component that uses ul and bootstrap classes. Use that component instead of reinventing it
2023-01-12 15:50:27 +00:00
kez
c6da6da517 Align "view" buttons so they don't stretch 2023-01-12 15:50:27 +00:00
kez
abd40f65a9 Add margins to pagination buttons 2023-01-12 15:50:27 +00:00
kez
f7812723fd Move "Community building" footer to template 2023-01-12 15:50:27 +00:00
kez
0721634ef6 Add pagination buttons 2023-01-12 15:50:27 +00:00
kez
d384f49316 Fix the layout of the resource list 2023-01-12 15:50:27 +00:00
kez
4d20d2e1a2 Convert the training resources databag to paginated children 2023-01-12 15:50:27 +00:00
kez
a5e8e1cc80 remove explicit banner include
something is already including the banner on community but i can't find it. this makes the banner show up twice.
2022-10-19 13:13:26 -07:00
kez
cb97014ca3 add the YEC22 banner
see tpo/web/lego#52
2022-10-19 10:10:54 -07:00
emmapeel
cb7f0d2ac5 Add feedback forms for trainers 2022-09-01 12:59:38 +00:00
kez
8cfb1213f4 Reindent slideshow.html 2022-07-26 09:43:59 -07:00
kez
d67589fc90 Translate slideshow title slides
Context: #251 and !219

Title slides are rendered in the slideshow template, not the slide flowblock
2022-07-26 09:41:08 -07:00
kezzle
7cee5a675f Translate slideshow content
Closes #251

Due to a bug in lektor-i18n-plugin, flowblock markdown is only ever translated
in the dev server, leaving local dev environments with a seemingly working
translation, and production/review builds without a translation. Slideshow
flowblocks are now manually translated.
2022-07-14 19:41:52 +00:00
emma peel
bdef99437c fix tpo/web/community#283 and make logos appear in all locales 2022-07-14 11:46:02 +02:00
kez
b059dba7b6 Fix a bug where lektor doesn't translate certain things
Closes: #251

Lektor and the i18n plugin (apparently) don't translate certain
`Markdown` objects in a single build. This left the slideshow
descriptions untranslated. By directly using `this.description.source`
we can force lektor to render the *translated* markdown as HTML.
2022-07-07 13:52:55 -07:00
kez
26049af39e Update lego, add robots.txt (tpo/web/lego#7) 2022-06-30 21:34:27 -07:00
emmapeel
1109da6dcc fix for tpo/web/community#275 tipped by kez, thanks! 2022-06-16 20:36:57 +00:00
Gus
0c98310d3e Add training partners page 2022-05-06 00:50:11 +00:00
gus
56b39061e0 Fix #258 and add donation link 2022-04-22 21:00:25 +00:00
emmapeel
30fb666adc presentation for supporters of survivors of domestic and gender violence, see: tpo/community/l10n#40014 and tpo/community/l10n#40015 2022-03-15 18:24:19 +00:00
kezzle
6ef28a22ed Capitalize Onion Service, change ".onion site" to "onion site" 2022-02-24 01:14:50 +00:00
emma peel
df0ec35f86 make image links relative, so images appear for example at https://review.torproject.net/tpo/web/community/l10n/zh-TW/training/resources/all-about-tor/#/0/5. related to tpo/web/community#249 2022-02-09 14:09:39 +00:00
kez
65c09dd706 Strip <p> and </p> tags from slide headers
Closes #246
2022-02-08 13:11:13 -08:00
emma peel
ea26170ef7 typo 2022-02-05 12:34:39 +01:00
emma peel
7afcde34f7 more images visible when published on subfolder 2022-02-05 12:20:34 +01:00
emma peel
8c3a320bf3 Merge remote-tracking branch 'origin/become-alpha-tester' into images-in-preview 2022-02-05 12:18:43 +01:00
gus
c1f726bf58 Fix #248 2022-02-05 11:08:11 +00:00
emma peel
d67cba975a small unrelated fix 2022-02-05 12:02:37 +01:00
emma peel
fe7e91cb3e fix images when running on subfolders, as in the gitlabci environment 2022-02-05 12:02:37 +01:00
emma peel
71a8df7fbd more images visible when published on subfolder 2022-02-05 12:02:37 +01:00
emma peel
89af17ffea fix images when running on subfolders, as in the gitlabci environment 2022-02-05 12:02:37 +01:00
kez
68436ad214 Remove unwanted banner.html symlink 2022-01-10 11:33:17 -08:00
emma peel
e363adf671 recover events stream from blog calendar 2021-12-16 10:44:48 +00:00
emma peel
3e7d11e331 edit this page in gitlab.tpo instead of github.
part of https://gitlab.torproject.org/tpo/web/team/-/issues/20
2021-12-16 10:14:14 +00:00
emma peel
920a874a5d remove feed temporarily to allow website build.
lets recover the feed if the blog serves it again
2021-11-19 11:40:20 +01:00
emma peel
bc2af1d5e2 add strings to template so they make their way to the translation file 2021-11-01 09:45:52 +01:00
emma peel
dcae59f54a more edits for https://gitlab.torproject.org/tpo/web/community/-/issues/234 2021-10-27 11:47:43 +02:00
emma peel
325ac819df replace section with path to prevent translation. closes https://gitlab.torproject.org/tpo/web/community/-/issues/234 2021-10-26 17:45:36 +02:00
kez
472628aa24 Convert untranslatable phrase on homepage to markdown
Context: https://gitlab.torproject.org/tpo/web/community/-/issues/189
2021-10-25 12:16:22 -07:00
emma peel
ee7d1d8412 add forgotten menu item 2021-10-10 11:06:40 +02:00
emma peel
019ec161b7 add strings of menus on top and bottom for l10n 2021-10-10 00:24:30 +02:00
HackerNCoder
a1326f6cd8
I #226: Uncrowd on smaller screens 2021-08-31 20:28:02 +00:00
gus
64c926f267 Merge branch 'community-training-resources' 2021-08-30 18:35:03 -03:00
gus
3b5c177471 Add training materials cover. Thank you, @donuts 2021-08-30 18:26:24 -03:00
kez
d6d163dfc9 Remove leftover test files 2021-06-21 16:37:36 -04:00
kez
0fd1a15c10 add a missing css rule 2021-06-15 01:35:14 -04:00
kez
cf4d538942 create additional slide templates for image slides 2021-06-13 10:38:07 -04:00
gus
0e670154bd Add community training materials 2021-06-08 00:18:25 -03:00
emma peel
de0e3b9a52 implement presentations for trainings as part of the community portal. see instructions to write presentation at https://gitlab.torproject.org/tpo/web/wiki/-/blob/master/create-a-presentation.md. will-fix: https://gitlab.torproject.org/tpo/community/l10n/-/issues/40010 2021-05-13 11:22:37 +02:00
Anushka Jain
bd95258d54 added space 2021-04-13 01:34:49 +05:30
kulsoomzahra
55d494552a
Added parentheses
Addressing the issue : Parentheses missing in definition of "501(c)(3) nonprofit organization"
2021-04-03 21:49:40 +05:30
hiro
b9f6eb5212 fix rtl page and card layout. will-fix: #186
Merge remote-tracking branch 'emmapeel/fix_rtl'
2021-03-29 16:39:27 +02:00
emma peel
17326481ed fix the pagenav for showing translated terms 2021-03-29 16:36:43 +02:00