From aa55875d1b9649885b17f574d22a673e6a3b7889 Mon Sep 17 00:00:00 2001 From: Terran McCanna Date: Wed, 24 Jan 2018 15:41:28 -0500 Subject: [PATCH] KPAC Fix to broken image links Removes cache info from image links in KPAC because it was causing links on Dewey page to break. Signed-off-by: Terran McCanna --- Open-ILS/src/templates/kpac/homedewey.tt2 | 100 ++++++++++++++--------------- Open-ILS/src/templates/kpac/parts/util.tt2 | 2 +- 2 files changed, 51 insertions(+), 51 deletions(-) diff --git a/Open-ILS/src/templates/kpac/homedewey.tt2 b/Open-ILS/src/templates/kpac/homedewey.tt2 index feeffeaeb3..091c2e18e1 100644 --- a/Open-ILS/src/templates/kpac/homedewey.tt2 +++ b/Open-ILS/src/templates/kpac/homedewey.tt2 @@ -24,17 +24,17 @@
 
- Computers + Computers

000

Computers

- UFOs and the Unexplained + UFOs and the Unexplained

001

UFOs and the Unexplained

- Encyclopedias + Encyclopedias

030

Encyclopedias and Books of Facts

@@ -49,12 +49,12 @@
 
- Ghosts + Ghosts

130

Ghosts

- Dreams + Dreams

135

Dreams

@@ -69,12 +69,12 @@
 
- Bible Stories + Bible Stories

220

Bible Stories

- Mythology + Mythology

290

Mythology

@@ -89,17 +89,17 @@
 
- World Cultures + World Cultures

300

World Cultures

- Military + Military

350

Military
(Tanks, Submarines)

- Fairy Tales and Folk Tales + Fairy Tales and Folk Tales

390

Folk Tales and
Fairy Tales

@@ -114,27 +114,27 @@
 
- Sign Language + Sign Language

410

Sign Language

- Dictionaries + Dictionaries

420

Dictionaries

- French Language - Hello + French Language - Hello

440

French

- Spanish Language - Hello + Spanish Language - Hello

460

Spanish

- Chinese Language - Hello + Chinese Language - Hello

490

Mandarin Chinese

@@ -149,67 +149,67 @@
 
- Science Fair Projects + Science Fair Projects

500

Science Fair Projects

- Math + Math

510

Math

- Astronomy + Astronomy

520

Astronomy
(Stars & Planets)

- Physics + Physics

530

Physics

- Chemistry + Chemistry

540

Chemistry

- Earth Sciences - Volcanoes, Weather, Rocks, and More + Earth Sciences - Volcanoes, Weather, Rocks, and More

550

Earth Sciences
(Volcanoes, Storms)

- Dinosaurs + Dinosaurs

560

Dinosaurs

- Habitats / Environments + Habitats / Environments

570

Habitats

- Plants + Plants

580

Plants

- Insects + Insects

595

Insects

- Reptiles - Snakes, Fish, Lizards + Reptiles - Snakes, Fish, Lizards

597

Snakes, Lizards & Fish

- birds + birds

598

Birds

- Mammals + Mammals

599

Mammals

@@ -224,32 +224,32 @@
 
- Inventions + Inventions

600

Inventions

- The Human Body & Medical Science + The Human Body & Medical Science

610

Medical Science

- Transportation + Transportation

620

Transportation

- Space Exploration + Space Exploration

629

Space Exploration

- Pets + Pets

636

Pets

- Cooking and Recipes + Cooking and Recipes

641

Cooking

@@ -264,37 +264,37 @@
 
- Sculpture, Origami + Sculpture, Origami

730

Sculpture & Origami

- Arts and Crafts + Arts and Crafts

740

Arts & Crafts

- Famous Artists + Famous Artists

759

Famous Artists

- Music + Music

780

Music

- Games + Games

790

Games

- Magic Tricks + Magic Tricks

793

Magic Tricks

- Sports + Sports

796

Sports

@@ -309,22 +309,22 @@
 
- Poetry + Poetry

811

Poetry

- Plays, Scripts, Theatre + Plays, Scripts, Theatre

812

Plays

- Speeches + Speeches

815

Speeches

- William Shakespeare + William Shakespeare

820

Shakespeare

@@ -339,27 +339,27 @@
 
- Pirates, Explorers + Pirates, Explorers

910

Explorers & Pirates

- Maps + Maps

912

Maps

- Archeology, Fossils + Archeology, Fossils

930

Archeology

- European History + European History

940

European History

- American History + American History

973

US History

diff --git a/Open-ILS/src/templates/kpac/parts/util.tt2 b/Open-ILS/src/templates/kpac/parts/util.tt2 index 2c4734dba1..632c1800d7 100644 --- a/Open-ILS/src/templates/kpac/parts/util.tt2 +++ b/Open-ILS/src/templates/kpac/parts/util.tt2 @@ -36,7 +36,7 @@ IF img.match('^/') OR img.match('^https?://'); img; ELSE; - ctx.media_prefix _ '/images/kpac/' _ img _ ctx.cache_key; + ctx.media_prefix _ '/images/kpac/' _ img; END; END; %] -- 2.11.0