mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-28 00:40:07 +02:00
Resolves #486 -- easier to understand button labels when interactive rebasing
This commit is contained in:
parent
cf6fec06e7
commit
780f53e226
3 changed files with 21 additions and 4 deletions
|
@ -164,7 +164,6 @@ var RebaseEntryView = Backbone.View.extend({
|
|||
},
|
||||
|
||||
render: function() {
|
||||
var json = this.model.toJSON();
|
||||
this.$el.append(this.template(this.model.toJSON()));
|
||||
|
||||
// hacky :( who would have known jquery barfs on ids with %'s and quotes
|
||||
|
|
|
@ -770,6 +770,19 @@ li.rebaseEntry a#toggleButton {
|
|||
li.rebaseEntry.notPicked {
|
||||
opacity: 0.2;
|
||||
}
|
||||
|
||||
li.rebaseEntry.notPicked span.showWhenPicked {
|
||||
display: none;
|
||||
}
|
||||
|
||||
li.rebaseEntry span.showWhenNotPicked {
|
||||
display: none;
|
||||
}
|
||||
|
||||
li.rebaseEntry.notPicked span.showWhenNotPicked {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
/* Modal Views */
|
||||
|
||||
div.modalView.box.inFront.show {
|
||||
|
|
|
@ -394,7 +394,7 @@
|
|||
<% if (solutionOrder && solutionOrder.length) { %>
|
||||
<p class="solutionText">
|
||||
For the solution, order the commits as
|
||||
<%= solutionOrder.join(', ') %>
|
||||
<%= solutionOrder.join(', ') %>. You may need to omit or pick commits.
|
||||
</p>
|
||||
<% } %>
|
||||
<p class="helperText">
|
||||
|
@ -452,7 +452,12 @@
|
|||
<%= id %>
|
||||
</span>
|
||||
<a id="toggleButton" class="uiButton uiButtonPink">
|
||||
Pick
|
||||
<span class="showWhenPicked">
|
||||
Omit
|
||||
</span>
|
||||
<span class="showWhenNotPicked">
|
||||
Pick
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
</li>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue