forked from gitea/gitea
1
0
Fork 0
Commit Graph

50 Commits

Author SHA1 Message Date
Jakob Ackermann 00629fea95 [assets] configurable URL for static resources (#7911)
* static url

* add cors support for static resources

* [assets] work on the migration to configurable url for assets

Signed-off-by: Jakob Ackermann <das7pad@outlook.com>

* [misc] fix whitespace

Signed-off-by: Jakob Ackermann <das7pad@outlook.com>

* [assets] fix the loading of the manifest.json

It is generated dynamically, and as such can not be served by the cdn.

Signed-off-by: Jakob Ackermann <das7pad@outlook.com>

* Revert "add cors support for static resources"

This reverts commit 42f964fd18

Signed-off-by: Jakob Ackermann <das7pad@outlook.com>

* [docs] add the STATIC_URL_PREFIX option

Signed-off-by: Jakob Ackermann <das7pad@outlook.com>

* [docs] reverse-proxy: nginx: add two setups for STATIC_URL_PREFIX

Signed-off-by: Jakob Ackermann <das7pad@outlook.com>

* [assets] migrate the url of a new asset to the static url prefix

REF: f2a3abc683
Signed-off-by: Jakob Ackermann <das7pad@outlook.com>
2019-10-22 20:11:01 +08:00
6543 3b379691fa move translation to crowdin (#8596) 2019-10-20 12:06:53 +03:00
Konrad Pozniak f37b87f81e Improve german translation of homepage (#8549)
I'm a native speaker, it looks much better this way
2019-10-20 06:39:35 +01:00
Lauris BH 772241b324 Latvian translation for home page (#8468) 2019-10-11 22:32:52 +01:00
spaeps 633cd7f473 Add home template italian translation (#8352)
It was just missing
2019-10-11 13:04:59 -04:00
vadim s. sabinich 760c473896 Fix typo in home.tmpl (#7452) 2019-07-15 19:26:23 -04:00
Sandro Santilli 9ca7fcddbb "It's all in GitHub" isn't true anymore, update the home template (#7059)
NOTE: this commit only updates the english section
2019-05-27 18:43:37 +01:00
Jan Breuer ea518681d9 Translate home template to Czech (#5665)
Signed-off-by: Jan Breuer <jan.breuer@jaybee.cz>
2019-01-08 14:39:50 +01:00
Tohka 8db3bdc683 Fix home page template regression (#5102)
Commit 7bb4d610e5 tries to take the app_name from the locale, however, it is a user defined setting. This causes the app name to simply display as `app_name` instead of the correct value.

templates/helper.go automatically injects the AppName variable into every template, so we can safely use that instead.

Signed-off-by: Daniel Derzsi <daniel@tohka.us>
2018-10-18 21:07:30 +08:00
mcnesium 7bb4d610e5 Use APP_NAME on home page (#5048)
Would it make sense to actually use the configured app name on the home page?
2018-10-18 15:34:45 +08:00
cezar97 51ba3df5ff Add `noreferrer` to rel='noopener` for <a> tags (#4328) 2018-07-03 19:52:36 -04:00
techknowlogick 2986e942ee Mac OS X -> macOS (#4056) 2018-05-27 18:47:58 +08:00
Ethan Koenig ea78a6db57 Spaces to tabs in templates (#2953) 2017-11-21 13:43:00 +08:00
Sandro Santilli fbaa52a3a8 Link to gitea-specific Vagrant example (#2624)
.. rather than a gogs one
2017-09-30 08:50:19 +08:00
Bo-Yi Wu 0af9a24087 docs: update translation on homepage for zh-tw (#634) 2017-01-11 09:23:42 +01:00
Bwko 6388761129
Added Dutch translations to the landingpage 2016-12-26 23:03:16 +01:00
Lunny Xiao c46eb3f5b3 Fix homepage docs link broken (#417)
* fix homepage docs link broken

* fix homepage docs links after docs updated
2016-12-22 07:03:43 +01:00
Bwko 5ab85372da Added rel="noopener" to target="_blank" hrefs (#327)
* Added rel="noopener" to target="_blank" hrefs

* Replaced gogs.io/docs with docs.gitea.io
2016-12-02 09:12:16 +08:00
Andrey Nering 96c9fef35f Update home page to Gitea (#138) 2016-11-11 08:50:31 +08:00
Rémy Boulanouar 2d68bd1ef9 Change import reference to match gitea instead of gogs (#37) 2016-11-03 10:29:56 -02:00
rugk 28dc5bb566 Replace gogs.io http links with https version (#3386) 2016-08-05 17:35:40 -07:00
Unknwon 12b5a76b0d Minor fix for #2772 2016-03-06 15:37:49 -05:00
xDShot d8738f5bfd минимальные -> низкие (системные требования) 2016-03-06 22:59:49 +03:00
Lourens 14aba3489e Add ru-RU to home template 2016-03-06 22:22:41 +03:00
Andrey Nering 0e0cd9100b Add portuguese-BR to home template. 2016-01-31 17:58:51 -02:00
Toni Villena 1105a3139f Add es-ES to home template 2016-01-18 17:49:17 +01:00
Philippe Chataignon 939d96813c Add fr-FR to home template 2016-01-11 13:55:52 +01:00
Adam Strzelecki da2585c11e Indent all templates with tabs
This commit improves templates readability, since all of them use consistent
indent with all template command blocks indented too.

1. Indents both HTML containers such as <div>, <p> and Go HTML template blocks
   such as {{if}} {{with}}

2. Cleans all trailing white-space

3. Adds trailing last line-break to each file
2015-12-08 00:57:46 +01:00
Unknwon 2729eb998c #1646 and other minor fixes 2015-09-16 15:34:46 -04:00
Unknwon 4b9fb43a70 home: new UI 2015-03-07 15:12:13 -05:00
Raphael Randschau 3c65265871 Hide the registration button depending on the setting 2015-02-05 18:15:00 +01:00
Tristan Storch 4c4488213a correction: updated docker link 2015-02-01 20:30:22 +01:00
unknown 1031271224 Add German translation to home page 2014-10-04 21:33:32 +02:00
Unknwon 7ba9257a7f Add suburl support 2014-09-19 20:11:34 -04:00
Martin van Beurden 0055cbd365 Allow Gogs to run from a suburl behind a reverse proxy. e.g. http://mydomain.com/gogs/
Conflicts:
	modules/setting/setting.go

Conflicts:
	templates/repo/release/list.tmpl
	templates/user/dashboard/dashboard.tmpl

Conflicts:
	routers/repo/setting.go
2014-09-18 20:50:48 +02:00
Tristan Storch 69e332f432 Removed trailing white spaces
Removed trailing whitespaces with

```sh
for file in `grep -r " $" * | cut -d : -f 1 | sort | uniq | grep -v " "`; do sed -i 's/[ \t]*$//' $file; done
```

and some handwork.
2014-08-30 15:12:53 +02:00
Unknwon 9baf2b38d0 Bug fix on organization 2014-08-27 16:39:36 +08:00
Unknwon 7af7584d25 Finish new reset password, etc. 2014-08-09 21:02:00 -07:00
Unknwon e8c9bb2c66 Finish new collaboration page 2014-08-07 06:40:05 -04:00
Unknwon 8dd07c0ddd New UI merge in progress 2014-07-26 00:24:27 -04:00
Unknown c1eb4d894a Clean api code 2014-05-05 13:08:01 -04:00
twitchyliquid64 d304a23787 Corrected grammar and spelling mistakes in templates. Normalizing to American English. 2014-04-20 16:54:26 +10:00
Unknown c36e7d322e Mirror updates 2014-04-14 04:11:33 -04:00
Unknown cb05b8325c Update config option 2014-03-28 08:39:35 -04:00
Jake Scott 60b83ce0c6 Fix up the spelling on the intro :) 2014-03-26 08:54:46 +13:00
FuXiaoHei 2a2f025388 change css name style 2014-03-25 18:44:37 +08:00
Unknown fbd252c1cf Mirror fix 2014-03-18 18:31:54 -04:00
FuXiaoHei 4b912b9ae6 signed-in dashboard and navbar changes 2014-03-06 21:33:17 +08:00
Unknown b1c5adc2f2 Setup templates structure 2014-02-14 20:14:22 -05:00
Unknown 96b317d3ff Init commit 2014-02-12 14:54:09 -05:00