hesabixSite/templates/emails/answer_accepted_notification.html.twig
Hesabix be126d506b
Some checks are pending
PHP Composer / build (push) Waiting to run
progress in QA service
2025-09-05 18:03:55 +03:30

128 lines
3.7 KiB
Twig

<!DOCTYPE html>
<html dir="rtl" lang="fa">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>پاسخ شما پذیرفته شد</title>
<style>
body {
font-family: 'Tahoma', 'Arial', sans-serif;
direction: rtl;
text-align: right;
background-color: #f8f9fa;
margin: 0;
padding: 20px;
}
.container {
max-width: 600px;
margin: 0 auto;
background-color: #ffffff;
border-radius: 10px;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
overflow: hidden;
}
.header {
background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
color: white;
padding: 30px;
text-align: center;
}
.header h1 {
margin: 0;
font-size: 24px;
}
.content {
padding: 30px;
}
.success-icon {
text-align: center;
font-size: 48px;
color: #28a745;
margin: 20px 0;
}
.question-box {
background-color: #f8f9fa;
border-right: 4px solid #007bff;
padding: 20px;
margin: 20px 0;
border-radius: 5px;
}
.question-title {
font-size: 18px;
font-weight: bold;
color: #333;
margin-bottom: 10px;
}
.question-content {
color: #666;
line-height: 1.6;
}
.answer-box {
background-color: #e8f5e8;
border-right: 4px solid #28a745;
padding: 20px;
margin: 20px 0;
border-radius: 5px;
}
.answer-content {
color: #333;
line-height: 1.6;
}
.footer {
background-color: #f8f9fa;
padding: 20px;
text-align: center;
color: #666;
font-size: 14px;
}
.btn {
display: inline-block;
background-color: #28a745;
color: white;
padding: 12px 24px;
text-decoration: none;
border-radius: 5px;
margin: 10px 0;
}
.btn:hover {
background-color: #218838;
}
</style>
</head>
<body>
<div class="container">
<div class="header">
<h1>پاسخ شما پذیرفته شد</h1>
</div>
<div class="content">
<div class="success-icon">✓</div>
<p>سلام {{ answerAuthor.name }}،</p>
<p>تبریک! پاسخ شما برای سوال زیر به عنوان بهترین پاسخ انتخاب شده است:</p>
<div class="question-box">
<div class="question-title">{{ question.title }}</div>
<div class="question-content">{{ question.content|markdown|raw }}</div>
</div>
<div class="answer-box">
<div class="answer-content">{{ answer.content|markdown|raw }}</div>
</div>
<p style="text-align: center;">
<a href="{{ url('qa_question_show', {'id': question.id}) }}" class="btn">
مشاهده سوال و پاسخ
</a>
</p>
</div>
<div class="footer">
<p>این ایمیل به صورت خودکار ارسال شده است. لطفاً به آن پاسخ ندهید.</p>
<p>© {{ "now"|date("Y") }} حسابیکس - سیستم حسابداری آنلاین</p>
</div>
</div>
</body>
</html>