Adding Fetch button on the project Menu..
Created by: chitranshi
hello , I am new to gitlab (and ruby on rails too.) . I am trying to add a new feature , I am supposed to add a "Fetch" button on the project Menu (where the ssh/http link and download/tags are displayed ). the purpose of which is to - 1)check firstly if the @project.import_url is set. 2)if set then fetch the parent repository and add to merge request .if any new branch is available.
I have tried to do the same using simple online tutorials and editing the /app/views/layouts/nav/_project.html.haml file also adding the required file in the contexts and config folder .but it didn't seem to work. if you could tell me series of steps ,it would be really helpfull.
thanks in advance.