Skip to content
This repository has been archived by the owner on Dec 22, 2022. It is now read-only.

Commit

Permalink
Merge pull request #1964 from ualbertalib/redlibrarian-browzine
Browse files Browse the repository at this point in the history
Remove references to cancelled Browzine application
  • Loading branch information
redlibrarian authored Apr 22, 2020
2 parents 7447bed + bd248de commit 6cdea5b
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 20 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ and releases in Discovery project adheres to [Semantic Versioning](http://semver
- abort `symphony_nightly` if data files do not exist. [PR#1961](https://github.com/ualbertalib/discovery/pull/1961)
- removed reference to error variable in Rollbar errors [PR#1962](https://github.com/ualbertalib/discovery/pull/1962)

### Removed
- removed paragraph in record views related to Browzine, cancelled as of April 30, 2020. [PR#1964]https://github.com/ualbertalib/discovery/pull/1964

## [3.1.0] - 2020-04-06

### Removed
Expand Down
5 changes: 0 additions & 5 deletions app/views/catalog/_holdings.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -122,11 +122,6 @@
<% end %>
</table>

<p>
If you would like to read online articles on your mobile device, please check out the
<a href="http://thirdiron.com/download-browzine/">Browzine</a>
app.
</p>
<% if @document[:issn_t] %>
<p style="font-size:100%">
<a href="https://license-terms.library.ualberta.ca/terms/?issn=<%= @document[:issn_t].first %>" target="_blank">
Expand Down
8 changes: 0 additions & 8 deletions config/promoted_services/service_records.xml
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<records>
<record>
<id>service001</id>
<title>Browzine</title>
<url>http://guides.library.ualberta.ca/browzine</url>
<source>services</source>
<format>service</format>
<electronic>Online</electronic>
</record>
<record>
<id>service002</id>
<title>ERA (Education &amp; Research Archive)</title>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<records>
<record>
<id>service001</id>
<title>Browzine</title>
<url>http://guides.library.ualberta.ca/browzine</url>
<id>service002</id>
<title>ERA (Education &amp; Research Archive)</title>
<url>https://era.library.ualberta.ca/public/home</url>
<source>services</source>
<format>service</format>
</record>
Expand Down
8 changes: 4 additions & 4 deletions spec/unit/promoted_services_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
describe PromotedServicesVocabulary do
let(:service_document) do
PromotedServicesVocabulary.from_xml(Nokogiri::XML(File.open(
Rails.root.join('spec', 'fixtures', 'browzine_record.xml')
Rails.root.join('spec', 'fixtures', 'era_record.xml')
)).xpath('//record').to_s)
end

Expand All @@ -14,9 +14,9 @@
end

it 'should hold all the right fields' do
expect(service_document.id).to eq ['service001']
expect(service_document.title).to eq ['Browzine']
expect(service_document.url).to eq ['http://guides.library.ualberta.ca/browzine']
expect(service_document.id).to eq ['service002']
expect(service_document.title).to eq ['ERA (Education & Research Archive)']
expect(service_document.url).to eq ['https://era.library.ualberta.ca/public/home']
expect(service_document.source).to eq ['services']
expect(service_document.format).to eq ['service']
end
Expand Down

0 comments on commit 6cdea5b

Please sign in to comment.