Skip to content

Commit

Permalink
Merge pull request #873 from aholachek/enhanced
Browse files Browse the repository at this point in the history
updated bbb message + hide library import for now
  • Loading branch information
aholachek committed Apr 1, 2016
2 parents 5b2a009 + 0c3f7ba commit fb4c634
Show file tree
Hide file tree
Showing 12 changed files with 19 additions and 14 deletions.
5 changes: 4 additions & 1 deletion src/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,10 @@
<body>

<div >
<img src="styles/img/404.jpg" alt="incredibly cute 404 error image made by Jason Bitterman"/>
<img src="styles/img/404.jpg"
class="img-responsive"
style="margin:auto;"
alt="incredibly cute 404 error image made by Jason Bitterman"/>
<p style="text-align: center">Would you like to <a href="/">go back to the homepage?</a></p>
</div>
</body>
Expand Down
2 changes: 1 addition & 1 deletion src/discovery.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ require.config({

IndividualLibraryWidget : 'js/widgets/library_individual/widget',
AllLibrariesWidget : 'js/widgets/libraries_all/widget',
LibraryImport : 'js/widgets/library-import/widget'
LibraryImport : 'js/widgets/library_import/widget'

},
plugins: {}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

{{#unless twopointoh_email}}

{{> js/widgets/library-import/templates/authentication-form-partial}}
{{> js/widgets/library_import/templates/authentication-form-partial}}

{{else}}

Expand Down Expand Up @@ -39,7 +39,7 @@
Sign into a new ADS 2.0 account
</button>
<div class="collapse" id="ads2-form-container">
{{> js/widgets/library-import/templates/authentication-form-partial}}
{{> js/widgets/library_import/templates/authentication-form-partial}}
</div>


Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{#unless classic_email}}
{{> js/widgets/library-import/templates/authentication-form-partial}}
{{> js/widgets/library_import/templates/authentication-form-partial}}
{{else}}

<div>
Expand Down Expand Up @@ -35,7 +35,7 @@
Sign into a new Classic account
</button>
<div class="collapse" id="classic-form-container">
{{> js/widgets/library-import/templates/authentication-form-partial}}
{{> js/widgets/library_import/templates/authentication-form-partial}}
</div>


Expand Down
File renamed without changes.
12 changes: 7 additions & 5 deletions src/js/wraps/landing_page_manager/landing-page-layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,14 @@

<div class="s-ads-card">
<div class="unobtrusive-landing-page-alert">
<b>
<a href="http://zenodo.org/communities/about/astrothesis/" target="_blank">
<i class="fa fa-graduation-cap"></i>
Learn how to contribute your thesis to the ADS Astronomy Thesis Collection
<i>Reviewers Hate It!</i>
<p style="margin-top:10px">One weird trick to search the ADS will have you writing 3-5 papers a day!</p>
<h4>
<a href="https://adsabs.github.io/ads_enhanced/" target="_blank" style="display: block;margin-top: 8px;">
Introducing ADS Enhanced&reg;
</a>
</b></div>
</h4>
</div>

<div class="search-bar-rows-container s-search-bar-rows-container">
<br/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<div class="col-sm-2 nav-container s-nav-container"></div>

<div class="col-sm-10">
<div data-widget="LibraryImport"/>
<!--<div data-widget="LibraryImport"/>-->
<div data-widget="UserSettings"/>
<div data-widget="UserPreferences"/>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ define([
navConfig : {
UserPreferences__librarylink : {"title": "Library Link Server", "path":"user/settings/librarylink","category":"preferences" },
UserPreferences__orcid : {"title": "ORCID Settings", "path":"user/settings/orcid","category":"preferences" },
LibraryImport : {"title": "Import Libraries", "path":"user/settings/libraryimport","category":"preferences" },
//LibraryImport : {"title": "Import Libraries", "path":"user/settings/libraryimport","category":"preferences" },

UserSettings__email : {"title": "Change Email", "path":"user/settings/email","category":"settings"},
UserSettings__password : {"title": "Change Password", "path":"user/settings/password","category":"settings"},
Expand Down
2 changes: 1 addition & 1 deletion test/mocha/js/widgets/library_import_widget.spec.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
define([
'js/widgets/library-import/widget',
'js/widgets/library_import/widget',
'js/bugutils/minimal_pubsub',
'js/components/api_targets'

Expand Down

0 comments on commit fb4c634

Please sign in to comment.