mirror of https://github.com/go-gitea/gitea.git
e3a7f15791
If a raw text file is displayed, a copy button of the text is enabled. * Closes #12866 ### Before ![image](https://user-images.githubusercontent.com/20454870/198898628-df1bcb0c-79d7-4ffb-95e4-441d77430827.png) ### After ![image](https://user-images.githubusercontent.com/20454870/199988152-ea1099ad-29e1-4765-a9ca-4c03c1737453.png) #### Rendered files and binaries have their button disabled ![image](https://user-images.githubusercontent.com/20454870/199988408-73de6327-5e9e-462b-b2b6-8c3f5b878386.png) ![image](https://user-images.githubusercontent.com/20454870/199988563-844f8656-f48d-4929-880e-b6558c1c054a.png) Signed-off-by: Yarden Shoham <hrsi88@gmail.com> Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: delvh <dev.lh@web.de> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> |
||
---|---|---|
.. | ||
TRANSLATORS | ||
locale_bg-BG.ini | ||
locale_cs-CZ.ini | ||
locale_de-DE.ini | ||
locale_el-GR.ini | ||
locale_en-US.ini | ||
locale_es-ES.ini | ||
locale_fa-IR.ini | ||
locale_fi-FI.ini | ||
locale_fr-FR.ini | ||
locale_hu-HU.ini | ||
locale_id-ID.ini | ||
locale_is-IS.ini | ||
locale_it-IT.ini | ||
locale_ja-JP.ini | ||
locale_ko-KR.ini | ||
locale_lv-LV.ini | ||
locale_ml-IN.ini | ||
locale_nl-NL.ini | ||
locale_pl-PL.ini | ||
locale_pt-BR.ini | ||
locale_pt-PT.ini | ||
locale_ru-RU.ini | ||
locale_si-LK.ini | ||
locale_sk-SK.ini | ||
locale_sv-SE.ini | ||
locale_tr-TR.ini | ||
locale_uk-UA.ini | ||
locale_zh-CN.ini | ||
locale_zh-HK.ini | ||
locale_zh-TW.ini |