forked from gitea/gitea
1
0
Fork 0
gitea/options/locale
silverwind c61ed6fad4
Rework repo buttons (#20602, #20718) (#20719)
* Rework repo buttons (#20602)

* Rework repo buttons

- Replace "New PR" and "Go to File" button with Icon Button
- Move all "Add File" actions into a dropdown button
- Remove most custom styling of clone buttons
- Margin and wiki tweaks

Buttons are now all equal height, mobile layout wraps gracefully.

Fixes: https://github.com/go-gitea/gitea/issues/13671
Replaces: https://github.com/go-gitea/gitea/pull/20375

* Restore history button and hide add button when unable to add (#20718)

Fix two regressions from #20602:

- Restore the 'History' button that was previously unable to render
  because it's show condition was never hit
- Hide the 'Add File' button when there would be no items in the
  dropdown.

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2022-08-20 15:49:16 +01:00
..
TRANSLATORS European Portuguese translation (#11568) 2020-06-05 09:07:56 +01:00
locale_bg-BG.ini [skip ci] Updated translations via Crowdin 2022-06-14 00:10:10 +00:00
locale_cs-CZ.ini [skip ci] Updated translations via Crowdin 2022-06-14 00:10:10 +00:00
locale_de-DE.ini [skip ci] Updated translations via Crowdin 2022-06-18 13:10:18 +00:00
locale_el-GR.ini [skip ci] Updated translations via Crowdin 2022-06-14 00:10:10 +00:00
locale_en-US.ini Rework repo buttons (#20602, #20718) (#20719) 2022-08-20 15:49:16 +01:00
locale_es-ES.ini [skip ci] Updated translations via Crowdin 2022-06-18 10:11:27 +00:00
locale_fa-IR.ini [skip ci] Updated translations via Crowdin 2022-06-14 00:10:10 +00:00
locale_fi-FI.ini [skip ci] Updated translations via Crowdin 2022-06-14 00:10:10 +00:00
locale_fr-FR.ini [skip ci] Updated translations via Crowdin 2022-06-18 13:10:18 +00:00
locale_hu-HU.ini [skip ci] Updated translations via Crowdin 2022-06-14 00:10:10 +00:00
locale_id-ID.ini [skip ci] Updated translations via Crowdin 2022-06-14 00:10:10 +00:00
locale_is-IS.ini [skip ci] Updated translations via Crowdin 2022-06-14 00:10:10 +00:00
locale_it-IT.ini [skip ci] Updated translations via Crowdin 2022-06-14 00:10:10 +00:00
locale_ja-JP.ini [skip ci] Updated translations via Crowdin 2022-06-14 00:10:10 +00:00
locale_ko-KR.ini [skip ci] Updated translations via Crowdin 2022-06-14 00:10:10 +00:00
locale_lv-LV.ini [skip ci] Updated translations via Crowdin 2022-06-15 22:10:15 +00:00
locale_ml-IN.ini [skip ci] Updated translations via Crowdin 2022-06-14 00:10:10 +00:00
locale_nl-NL.ini [skip ci] Updated translations via Crowdin 2022-06-14 00:10:10 +00:00
locale_pl-PL.ini [skip ci] Updated translations via Crowdin 2022-06-14 00:10:10 +00:00
locale_pt-BR.ini [skip ci] Updated translations via Crowdin 2022-06-14 00:10:10 +00:00
locale_pt-PT.ini [skip ci] Updated translations via Crowdin 2022-06-14 00:10:10 +00:00
locale_ru-RU.ini Update issues.ref_closing_from in locale_ru-RU.ini (#20699) 2022-08-07 18:32:07 +08:00
locale_si-LK.ini [skip ci] Updated translations via Crowdin 2022-06-14 00:10:10 +00:00
locale_sv-SE.ini [skip ci] Updated translations via Crowdin 2022-06-14 00:10:10 +00:00
locale_tr-TR.ini [skip ci] Updated translations via Crowdin 2022-06-14 00:10:10 +00:00
locale_uk-UA.ini [skip ci] Updated translations via Crowdin 2022-06-14 00:10:10 +00:00
locale_zh-CN.ini [skip ci] Updated translations via Crowdin 2022-06-15 00:10:14 +00:00
locale_zh-HK.ini [skip ci] Updated translations via Crowdin 2022-06-14 00:10:10 +00:00
locale_zh-TW.ini [skip ci] Updated translations via Crowdin 2022-06-16 16:10:29 +00:00