From 04cd1801447b9a12a47ed4de7c88dfe186b5c817 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 7 Jan 2010 11:08:55 -0500 Subject: [PATCH] Adding inline edit links for additem table. Suggested for Bug 2534 --- koha-tmpl/intranet-tmpl/prog/en/css/addbiblio.css | 5 +++++ .../prog/en/modules/cataloguing/additem.tmpl | 15 +++++++++++++-- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/css/addbiblio.css b/koha-tmpl/intranet-tmpl/prog/en/css/addbiblio.css index 668361757b..0377ccaeee 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/css/addbiblio.css +++ b/koha-tmpl/intranet-tmpl/prog/en/css/addbiblio.css @@ -127,3 +127,8 @@ a.tagnum { .mandatory_marker { color: red; } +.linktools { display: block; white-space: nowrap; } +.linktools a { font-size : 75%; display:block;text-decoration:none;} +.linktools a {margin:0 2px;padding:2px;background-color:#FFF;text-align:center; } +.linktools a:first-child { border-bottom: 1px solid #DDD; } +.linktools a:hover { background-color: #FFC; } diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tmpl index 5b4311499e..9d2d864251 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tmpl @@ -5,6 +5,17 @@ //&biblionumber=&itemnumber="+num_rowid+"#edititem\">Edit Item &biblionumber=&itemnumber="+num_rowid+"\" onclick=\"confirm_deletion(,"+num_rowid+"); return false;\">Delete Item"); + } + }); }); function active(numlayer) { @@ -195,7 +206,7 @@ function set_to_today(id, force) { "> -  &itemnumber=">Edit +  &itemnumber=#edititem">Edit &itemnumber=" onclick="confirm_deletion(,); return false;">Delete @@ -214,7 +225,7 @@ function set_to_today(id, force) {

Add Item

-

Edit Item #

+

Edit Item #

    -- 2.39.5