Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #4322

Closed
Open
Created Jun 17, 2013 by Administrator@rootOwner

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.

Assignee
Assign to
Time tracking