mirror of
https://github.com/gramps-project/gramps-web.git
synced 2026-04-30 19:14:53 -04:00
Repository element
This commit is contained in:
@@ -14,7 +14,8 @@ export class GrampsjsRepository extends GrampsjsObject {
|
||||
|
||||
renderProfile() {
|
||||
return html`
|
||||
<pre style="max-width:100%;">${JSON.stringify(this.data, null, 2)}</pre>
|
||||
<h2>${this.data.name}</h2>
|
||||
${this.data?.type ? html`<p><span class="md">${this._("Type")}:</span> ${this._(this.data.type)}</p>` : ''}
|
||||
`;
|
||||
}
|
||||
|
||||
|
||||
@@ -32,6 +32,7 @@ export const grampsStrings = [
|
||||
"Citation",
|
||||
"Citations",
|
||||
"City",
|
||||
"Collection",
|
||||
"Country",
|
||||
"County",
|
||||
"Custom",
|
||||
@@ -63,6 +64,7 @@ export const grampsStrings = [
|
||||
"Home Page",
|
||||
"in",
|
||||
"LDS Note",
|
||||
"Library",
|
||||
"Locality",
|
||||
"Map",
|
||||
"Marriage Date",
|
||||
|
||||
@@ -30,7 +30,7 @@ export class GrampsjsViewRepositories extends GrampsjsViewObjectsBase {
|
||||
const formattedRow = {
|
||||
grampsId: row.gramps_id,
|
||||
name: row.name,
|
||||
type: row.type
|
||||
type: this._(row.type)
|
||||
}
|
||||
return formattedRow
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user