From: dbs Date: Thu, 19 Aug 2010 01:24:03 +0000 (+0000) Subject: Add basic authority browse/edit/delete interface X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=0396fc94a5f1f872b23d61355e34b0d56bd8a0fc;p=evergreen%2Fbjwebb.git Add basic authority browse/edit/delete interface http://localhost/eg/cat/authority/list should get you where you need to be The paging is comical, the JS should probably be split out from the declarative markup, the interface needs i18n, the UI needs to become usable - but at least we have exposed some functionality for working with authority records now. Ideally this becomes a widget that we can just embed into other interfaces to maintain context (which suggests using openils.cgi to seed the initial values of the widget). Note that the delete function works - it sets the deleted flag for an are to "true" - but the underlying authorities browse interface currently doesn't care about such niceties and always returns deleted records along with undeleted records. So that might be the next stop. git-svn-id: svn://svn.open-ils.org/ILS/trunk@17255 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/examples/fm_IDL.xml b/Open-ILS/examples/fm_IDL.xml index 2ca154ade..902c10afe 100644 --- a/Open-ILS/examples/fm_IDL.xml +++ b/Open-ILS/examples/fm_IDL.xml @@ -1425,6 +1425,15 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA + + + + + + + + + diff --git a/Open-ILS/web/templates/default/cat/authority/list.tt2 b/Open-ILS/web/templates/default/cat/authority/list.tt2 new file mode 100644 index 000000000..428f88415 --- /dev/null +++ b/Open-ILS/web/templates/default/cat/authority/list.tt2 @@ -0,0 +1,131 @@ +[% ctx.page_title = 'Authority record list' %] +[% WRAPPER default/base.tt2 %] + + + +
+ + + + + +
Submit + +
+
+ +
+ +[% END %] +