Logo
Explore Help
Sign In
Mirrors/gitea
Watch 0
Star 0
Fork 0
mirror of https://github.com/go-gitea/gitea.git synced 2026-09-13 12:07:20 +02:00
Code Issues Activity
Files
20da666d6dec25e514f322249cb3f94d10801253
gitea/options
T
History
Yarden ShohamGitHubsilverwinddelvhwxiaoguang
e3a7f15791 Add "Copy" button to file view of raw text (#21629)
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>
2022-11-04 15:33:50 -04:00
..
gitignore
[skip ci] Updated licenses and gitignores
2022-09-11 00:20:43 +00:00
label
…
license
[skip ci] Updated licenses and gitignores
2022-10-30 00:19:37 +00:00
locale
Add "Copy" button to file view of raw text (#21629)
2022-11-04 15:33:50 -04:00
readme
…
Powered by Gitea Version: 1.27.0 Page: 1601ms Template: 171ms
Auto
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API