-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
User interface: admin pages and jinja templates #200
Conversation
b3835cf
to
7112984
Compare
On the list, the arrow on the right on the connected records is not visible. It must be put before the text on the left. |
I don't know if it's right to put an "add" button for a item on the list. I think it should be in the document. |
}) | ||
export class BioInformationsPipe implements PipeTransform { | ||
|
||
transform(value: any, args?: any): any { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
args is not used in function ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no this has been generated by angular tools, I will remove it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not deleted ?
}) | ||
export class BirthDatePipe implements PipeTransform { | ||
|
||
transform(value: any, args?: any): any { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
args is not used in function ?
this.recordsService | ||
.getRecords('locations', 1, 100, `library.pid:${libraryPid}`) | ||
.subscribe(data => { | ||
console.log('recieved', data); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To be deleted
this.recordsService.delete('locations', pid).subscribe(locations => { | ||
this.locations = this.locations.filter(location => location.metadata.pid !== pid); | ||
}); | ||
console.log(pid); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To be deleted
In the list of libraries, the arrow is on the left when the information is closed, but on the right when it is open. |
7112984
to
9be0838
Compare
@Garfield-fr I was unable to reproduce the arrow position in the libraries view nor seen the json in the item view. |
7b5e2dc
to
0fc0c97
Compare
}) | ||
export class BioInformationsPipe implements PipeTransform { | ||
|
||
transform(value: any, args?: any): any { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not deleted ?
@@ -75,6 +80,10 @@ export class EditorComponent implements OnInit { | |||
this.schemaForm.schema.properties.document | |||
.properties['$ref']['default'] = urlPerfix + query.document; | |||
} | |||
if (this.recordType === 'locations' && query.library) { | |||
this.redirectRecordType = 'libraries'; | |||
this.schemaForm.schema.properties.library.properties['$ref']['default'] = 'http://ils.rero.ch/api/libraries/' + query.library; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use ApiService ton generate the url
9d68bc2
to
1bd5816
Compare
1bd5816
to
8cb9f8e
Compare
* BETTER: lighten the front page search input button color * BETTER: resize the front page background image * BETTER: remove unused SCSS rules or replace them by a bootstrap class * BETTER: enhance the search results views * BETTER: enhance the editors views * NEW: add delete fonction in libraries and documents brief views * FIX: fix locale for schema and forms * add a rule for typscript files in the .editorconfig Signed-off-by: Igor Milhit <igor.milhit@rero.ch> Co-authored-by: Johnny Mariéthoz <Johnny.Mariethoz@rero.ch>
8cb9f8e
to
85ba8d1
Compare
Co-authored-by: Johnny Mariéthoz Johnny.Mariethoz@rero.ch
Signed-off-by: Igor Milhit igor.milhit@rero.ch
To test