Skip to content

Commit 6651064

Browse files
committed
modify css for repo unset
1 parent 1df04ee commit 6651064

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

templates/repo/projects/view.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,8 @@
163163
<label id="default-project-board-content"></label>
164164
</div>
165165
<div class="text right actions">
166-
<button class="ui cancel button">{{$.locale.Tr "settings.cancel"}}</button>
167-
<button class="ui primary button default-project-board-button" id="default-project-board-submit"></button>
166+
<button class="ui red cancel button">{{$.locale.Tr "settings.cancel"}}</button>
167+
<button class="ui green ok button default-project-board-button" id="default-project-board-submit"></button>
168168
</div>
169169
</div>
170170

web_src/js/features/repo-projects.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -131,11 +131,6 @@ export function initRepoProject() {
131131
const showButton = $(boardColumn).find('.default-project-board-show');
132132
const commitButton = $(this).find('.default-project-board-button');
133133

134-
if ($(showButton).data('type') === 'unset_default') {
135-
$(commitButton).removeClass('primary');
136-
$(commitButton).addClass('red');
137-
}
138-
139134
$(commitButton).on('click', (e) => {
140135
e.preventDefault();
141136

0 commit comments

Comments
 (0)