Branding adjustments
This commit is contained in:
@ -596,7 +596,7 @@ document.addEventListener('DOMContentLoaded', function() {
|
||||
try {
|
||||
// Use community name if available, otherwise default
|
||||
const communityName = protocol.metadata.communityName || "Community";
|
||||
let markdown = `# ${communityName}\n# Dispute Protocol\n\n`;
|
||||
let markdown = `# ${communityName}\n# CommunityDispute\n\n`;
|
||||
|
||||
// Include protocol summary if available
|
||||
if (protocol.metadata.summary) {
|
||||
@ -664,7 +664,7 @@ document.addEventListener('DOMContentLoaded', function() {
|
||||
});
|
||||
|
||||
// Create and download the file
|
||||
downloadFile('community_dispute_protocol.md', markdown);
|
||||
downloadFile('communityDispute.md', markdown);
|
||||
} catch (error) {
|
||||
console.error('Error generating Markdown:', error);
|
||||
alert('Failed to generate Markdown. Please try again.');
|
||||
@ -704,7 +704,7 @@ document.addEventListener('DOMContentLoaded', function() {
|
||||
|
||||
// Add title with line break
|
||||
doc.setFontSize(18);
|
||||
doc.text(`${communityName}\nDispute Protocol`, 105, yPos, { align: 'center' });
|
||||
doc.text(`${communityName}\nCommunityDispute`, 105, yPos, { align: 'center' });
|
||||
yPos += 25;
|
||||
|
||||
// Page width indicator removed
|
||||
@ -814,7 +814,7 @@ document.addEventListener('DOMContentLoaded', function() {
|
||||
});
|
||||
|
||||
// Save the PDF
|
||||
doc.save('community_dispute_protocol.pdf');
|
||||
doc.save('communityDispute.pdf');
|
||||
} catch (error) {
|
||||
console.error('Error generating PDF:', error);
|
||||
alert('Failed to generate PDF. Please try again or use another export format.');
|
||||
@ -827,7 +827,7 @@ document.addEventListener('DOMContentLoaded', function() {
|
||||
|
||||
updateProtocolData();
|
||||
const jsonData = JSON.stringify(protocol, null, 2);
|
||||
downloadFile('community_dispute_protocol.json', jsonData);
|
||||
downloadFile('communityDispute.json', jsonData);
|
||||
});
|
||||
|
||||
// Import from JSON
|
||||
|
Reference in New Issue
Block a user