Skip to content
This repository has been archived by the owner on Sep 12, 2018. It is now read-only.

Commit

Permalink
code: Do not show selected branch for a commit
Browse files Browse the repository at this point in the history
It was incorrect and is not necessary.

I think in future we can show the branches and tags which contain the
commit, instead of the selected branch.
  • Loading branch information
Yi EungJun committed Mar 10, 2015
1 parent 24d7a14 commit c13745d
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions app/views/code/diff.scala.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,6 @@
<div class="page-wrap-outer">
<div class="project-page-wrap">
<div id="code-browse-wrap" class="code-browse-wrap">
<select id="branches" data-toggle="select2" data-format="branch" data-dropdown-css-class="branches" class="pull-right">
@defining(RepositoryService.getRepository(project).getBranchNames()) { branches =>
@for(branchName <- branches){
<option value="@routes.CodeHistoryApp.history(project.owner, project.name, URLEncoder.encode(branchName, "UTF-8"), null)"
@if(selectedBranch){ @if(branchItemName(branchName) == branchItemName(selectedBranch)){ selected } }>
@branchName
</option>
}
}
</select>

<ul class="nav nav-tabs" style="margin-bottom:20px;">
<li>
<a href="@routes.CodeApp.codeBrowser(project.owner, project.name)">@Messages("code.files")</a>
Expand Down

0 comments on commit c13745d

Please sign in to comment.