Skip to content

Copy to Clipboard button is missing when SSH is enabled, HTTP is disabled. #3771

Closed
@awwong1

Description

@awwong1
  • Gitea version (or commit ref): 1.4.0
  • Git version: 2.1.4
  • Operating system: Raspbian Linux raspberrypi 4.9.35-v7+ #1014 SMP Fri Jun 30 14:47:43 BST 2017 armv7l GNU/Linux
  • Database (use [x]):
    • MySQL
  • Can you reproduce the bug at https://try.gitea.io:
    • Not relevant

Description

Copy to Clipboard button is missing when SSH is enabled, HTTP is disabled.

This can be toggled by setting custom/conf/app.ini

[repository]
DISABLE_HTTP_GIT = false

DISABLE_HTTP_GIT = true #this should also show the copy to clipboard button

Expected fuctionality is Copy to Clipboard button stays no matter what this setting is.

Screenshots

When SSH and HTTPS are both enabled:
screen shot 2018-04-08 at 10 11 03 pm

When only SSH is enabled:
screen shot 2018-04-08 at 10 11 36 pm

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions