• Valery Sizov's avatar
    Merge branch 'fix-issue-3094' into 'master' · 6a81e51c
    Valery Sizov authored
    Don't show "Add README" link in an empty repository if user doesn't have access to push
    
    Reporter users would see this before even though they didn't have access to push:
    
    ![image](/uploads/1dd328ab7e58cd00c5b696f079816e16/image.png)
    
    It's not complete accurate to include the push command-line instructions, but users may still want the instructions to clone. After:
    
    ![image](/uploads/3d214e140916d2f174d0b5fec0ac472d/image.png)
    
    Closes #3094
    
    See merge request !1626
    6a81e51c
empty.html.haml 1.91 KB