mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Stlying starred stories in intro wizard.
This commit is contained in:
parent
9eb7aa4d4d
commit
2616114132
2 changed files with 10 additions and 3 deletions
|
@ -6813,6 +6813,13 @@ form.opml_import_form input {
|
|||
text-align: center;
|
||||
display: none;
|
||||
}
|
||||
.NB-modal-intro .NB-intro-import-starred-message {
|
||||
display: none;
|
||||
text-align: center;
|
||||
margin: -24px 0 12px;
|
||||
font-size: 14px;
|
||||
font-weight: bold;
|
||||
}
|
||||
.NB-modal-intro .NB-intro-module-containers {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
|
|
@ -60,7 +60,7 @@ _.extend(NEWSBLUR.ReaderIntro.prototype, {
|
|||
$.make('div', { className: 'NB-intro-imports NB-intro-imports-start'}, [
|
||||
$.make('div', { className: 'NB-page-2-started' }, [
|
||||
$.make('h4', "Let's get some sites to read."),
|
||||
$.make('h6')
|
||||
$.make('div', { className: 'NB-intro-import-starred-message' })
|
||||
]),
|
||||
$.make('div', { className: 'NB-intro-module-containers' }, [
|
||||
$.make('div', { className: 'NB-intro-module-container NB-left' }, [
|
||||
|
@ -497,12 +497,12 @@ _.extend(NEWSBLUR.ReaderIntro.prototype, {
|
|||
}
|
||||
|
||||
if (starred_count) {
|
||||
var $info = $(".NB-page-2-started h6", this.$modal);
|
||||
var $info = $(".NB-page-2-started .NB-intro-import-starred-message", this.$modal);
|
||||
$info.text([
|
||||
"And you have ",
|
||||
Inflector.pluralize(' saved story', starred_count, true),
|
||||
". "
|
||||
].join(""));
|
||||
].join("")).show();
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue